How to use the isTypeAlias function from @babel/types

Find comprehensive JavaScript @babel/types.isTypeAlias code examples handpicked from public code repositorys.

186
187
188
189
190
191
192
193
194
195
    );
  }
} else if (
  t.isClassDeclaration(declaration) ||
  t.isFunctionDeclaration(declaration) ||
  t.isTypeAlias(declaration) ||
  t.isInterfaceDeclaration(declaration) ||
  t.isTSTypeAliasDeclaration(declaration) ||
  t.isTSInterfaceDeclaration(declaration) ||
  t.isTSEnumDeclaration(declaration) ||
fork icon6
star icon34
watch icon0

+ 3 other calls in file

Other functions in @babel/types

Sorted by popularity

function icon

@babel/types.identifier is the most popular function in @babel/types (20936 examples)