packages/material-ui-icons/scripts/create-typings.js
async function run() {
  console.log(`\u{1f52c}  Searching for modules inside "${chalk.dim(SRC_DIR)}".`);
  const files = glob.sync('!(index)*.js', { cwd: SRC_DIR });
  const typings = files.map(file => createIconTyping(file));
  await Promise.all([...typings, createIndexTyping(files)]);
  console.log(`\u{1F5C4}  Written typings to ${chalk.dim(TARGET_DIR)}.`);
}
async function run() {
  console.log(`\u{1f52c}  Searching for modules inside "${chalk.dim(SRC_DIR)}".`);
  const files = glob.sync('!(index)*.js', { cwd: SRC_DIR });
  const typings = files.map(file => createIconTyping(file));
  await Promise.all([...typings, createIndexTyping(files)]);
  console.log(`\u{1F5C4}  Written typings to ${chalk.dim(TARGET_DIR)}.`);
}
async function run ( ) { console . log ( ` \u{1f52c} ${ chalk . dim ( SRC_DIR ) } ` ) ; const files = glob . sync ( '!(index)*.js' , { cwd : SRC_DIR } ) ; const typings = files . map ( file => createIconTyping ( file ) ) ; await Promise . all ( [ ... typings , createIndexTyping ( files ) ] ) ; console . log ( ` \u{1F5C4} ${ chalk . dim ( TARGET_DIR ) } ` ) ; }
Generate TypeScript.
Generate TypeScript .