type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
FunctionDeclaration
declare function assertPrivate(node: object | null | undefined, opts?: object | null): asserts node is Private;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFlow(node: object | null | undefined, opts?: object | null): asserts node is Flow;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFlowType(node: object | null | undefined, opts?: object | null): asserts node is FlowType;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFlowBaseAnnotation(node: object | null | undefined, opts?: object | null): asserts node is FlowBaseAnnotation;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFlowDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FlowDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFlowPredicate(node: object | null | undefined, opts?: object | null): asserts node is FlowPredicate;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertEnumBody(node: object | null | undefined, opts?: object | null): asserts node is EnumBody;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertEnumMember(node: object | null | undefined, opts?: object | null): asserts node is EnumMember;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertJSX(node: object | null | undefined, opts?: object | null): asserts node is JSX;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertMiscellaneous(node: object | null | undefined, opts?: object | null): asserts node is Miscellaneous;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTypeScript(node: object | null | undefined, opts?: object | null): asserts node is TypeScript;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTSTypeElement(node: object | null | undefined, opts?: object | null): asserts node is TSTypeElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTSType(node: object | null | undefined, opts?: object | null): asserts node is TSType;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTSBaseType(node: object | null | undefined, opts?: object | null): asserts node is TSBaseType;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertNumberLiteral(node: any, opts: any): void;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertRegexLiteral(node: any, opts: any): void;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertRestProperty(node: any, opts: any): void;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSpreadProperty(node: any, opts: any): void;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
//# sourceMappingURL=createTypeAnnotationBasedOnTypeof.d.ts.map /** * Takes an array of `types` and flattens them, removing duplicates and * returns a `UnionTypeAnnotation` node containing them. */ declare function createFlowUnionType<T extends FlowType>(types: [T] | Array<T>): T | UnionTypeAnnotation;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
/** * Takes an array of `types` and flattens them, removing duplicates and * returns a `UnionTypeAnnotation` node containing them. */ declare function createTSUnionType(typeAnnotations: Array<TSTypeAnnotation>): TSType;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function arrayExpression(elements?: Array<null | Expression | SpreadElement>): ArrayExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assignmentExpression(operator: string, left: LVal, right: Expression): AssignmentExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function binaryExpression(operator: "+" | "-" | "/" | "%" | "*" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=", left: Expression | PrivateName, right: Expression): BinaryExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function interpreterDirective(value: string): InterpreterDirective;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function directive(value: DirectiveLiteral): Directive;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function directiveLiteral(value: string): DirectiveLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function blockStatement(body: Array<Statement>, directives?: Array<Directive>): BlockStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function breakStatement(label?: Identifier | null): BreakStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function callExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>): CallExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function catchClause(param: Identifier | ArrayPattern | ObjectPattern | null | undefined, body: BlockStatement): CatchClause;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function conditionalExpression(test: Expression, consequent: Expression, alternate: Expression): ConditionalExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function continueStatement(label?: Identifier | null): ContinueStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function debuggerStatement(): DebuggerStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function doWhileStatement(test: Expression, body: Statement): DoWhileStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function emptyStatement(): EmptyStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function expressionStatement(expression: Expression): ExpressionStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function file(program: Program, comments?: Array<CommentBlock | CommentLine> | null, tokens?: Array<any> | null): File;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function forInStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement): ForInStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function forStatement(init: VariableDeclaration | Expression | null | undefined, test: Expression | null | undefined, update: Expression | null | undefined, body: Statement): ForStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function functionDeclaration(id: Identifier | null | undefined, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function functionExpression(id: Identifier | null | undefined, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, generator?: boolean, async?: boolean): FunctionExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function identifier(name: string): Identifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function ifStatement(test: Expression, consequent: Statement, alternate?: Statement | null): IfStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function labeledStatement(label: Identifier, body: Statement): LabeledStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function stringLiteral(value: string): StringLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function numericLiteral(value: number): NumericLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function nullLiteral(): NullLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function booleanLiteral(value: boolean): BooleanLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function regExpLiteral(pattern: string, flags?: string): RegExpLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function logicalExpression(operator: "||" | "&&" | "??", left: Expression, right: Expression): LogicalExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function memberExpression(object: Expression, property: Expression | Identifier | PrivateName, computed?: boolean, optional?: true | false | null): MemberExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function newExpression(callee: Expression | V8IntrinsicIdentifier, _arguments: Array<Expression | SpreadElement | JSXNamespacedName | ArgumentPlaceholder>): NewExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function program(body: Array<Statement>, directives?: Array<Directive>, sourceType?: "script" | "module", interpreter?: InterpreterDirective | null): Program;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function objectExpression(properties: Array<ObjectMethod | ObjectProperty | SpreadElement>): ObjectExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function objectMethod(kind: "method" | "get" | "set" | undefined, key: Expression | Identifier | StringLiteral | NumericLiteral, params: Array<Identifier | Pattern | RestElement>, body: BlockStatement, computed?: boolean, generator?: boolean, async?: boolean): ObjectMethod;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function objectProperty(key: Expression | Identifier | StringLiteral | NumericLiteral, value: Expression | PatternLike, computed?: boolean, shorthand?: boolean, decorators?: Array<Decorator> | null): ObjectProperty;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function restElement(argument: LVal): RestElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function returnStatement(argument?: Expression | null): ReturnStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function sequenceExpression(expressions: Array<Expression>): SequenceExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function parenthesizedExpression(expression: Expression): ParenthesizedExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function switchCase(test: Expression | null | undefined, consequent: Array<Statement>): SwitchCase;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function switchStatement(discriminant: Expression, cases: Array<SwitchCase>): SwitchStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function thisExpression(): ThisExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function throwStatement(argument: Expression): ThrowStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function tryStatement(block: BlockStatement, handler?: CatchClause | null, finalizer?: BlockStatement | null): TryStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function unaryExpression(operator: "void" | "throw" | "delete" | "!" | "+" | "-" | "~" | "typeof", argument: Expression, prefix?: boolean): UnaryExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function updateExpression(operator: "++" | "--", argument: Expression, prefix?: boolean): UpdateExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function variableDeclaration(kind: "var" | "let" | "const", declarations: Array<VariableDeclarator>): VariableDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function variableDeclarator(id: LVal, init?: Expression | null): VariableDeclarator;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function whileStatement(test: Expression, body: Statement): WhileStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function withStatement(object: Expression, body: Statement): WithStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assignmentPattern(left: Identifier | ObjectPattern | ArrayPattern | MemberExpression, right: Expression): AssignmentPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function arrayPattern(elements: Array<null | PatternLike>): ArrayPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function arrowFunctionExpression(params: Array<Identifier | Pattern | RestElement>, body: BlockStatement | Expression, async?: boolean): ArrowFunctionExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function classBody(body: Array<ClassMethod | ClassPrivateMethod | ClassProperty | ClassPrivateProperty | ClassAccessorProperty | TSDeclareMethod | TSIndexSignature | StaticBlock>): ClassBody;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function classExpression(id: Identifier | null | undefined, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function classDeclaration(id: Identifier, superClass: Expression | null | undefined, body: ClassBody, decorators?: Array<Decorator> | null): ClassDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function exportAllDeclaration(source: StringLiteral): ExportAllDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function exportDefaultDeclaration(declaration: FunctionDeclaration | TSDeclareFunction | ClassDeclaration | Expression): ExportDefaultDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function exportNamedDeclaration(declaration?: Declaration | null, specifiers?: Array<ExportSpecifier | ExportDefaultSpecifier | ExportNamespaceSpecifier>, source?: StringLiteral | null): ExportNamedDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function exportSpecifier(local: Identifier, exported: Identifier | StringLiteral): ExportSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function forOfStatement(left: VariableDeclaration | LVal, right: Expression, body: Statement, _await?: boolean): ForOfStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function importDeclaration(specifiers: Array<ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier>, source: StringLiteral): ImportDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function importDefaultSpecifier(local: Identifier): ImportDefaultSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function importNamespaceSpecifier(local: Identifier): ImportNamespaceSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function importSpecifier(local: Identifier, imported: Identifier | StringLiteral): ImportSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function metaProperty(meta: Identifier, property: Identifier): MetaProperty;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function classMethod(kind: "get" | "set" | "method" | "constructor" | undefined, key: Identifier | StringLiteral | NumericLiteral | Expression, params: Array<Identifier | Pattern | RestElement | TSParameterProperty>, body: BlockStatement, computed?: boolean, _static?: boolean, generator?: boolean, async?: boolean): ClassMethod;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function objectPattern(properties: Array<RestElement | ObjectProperty>): ObjectPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function spreadElement(argument: Expression): SpreadElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function _super(): Super;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function taggedTemplateExpression(tag: Expression, quasi: TemplateLiteral): TaggedTemplateExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function templateElement(value: { raw: string; cooked?: string; }, tail?: boolean): TemplateElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function templateLiteral(quasis: Array<TemplateElement>, expressions: Array<Expression | TSType>): TemplateLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function yieldExpression(argument?: Expression | null, delegate?: boolean): YieldExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function awaitExpression(argument: Expression): AwaitExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function _import(): Import;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function bigIntLiteral(value: string): BigIntLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function exportNamespaceSpecifier(exported: Identifier): ExportNamespaceSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function optionalMemberExpression(object: Expression, property: Expression | Identifier, computed: boolean | undefined, optional: boolean): OptionalMemberExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript