npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@typescript-runtime-schema/factory

v1.0.6

Published

A wrapper for the typescript factory that provide sensible currying to the API. Built specifically for the @typescript-runtime-schema, so your mileage may vary in terms of API coverage

Downloads

3

Readme

@typescript-runtime-schema/factory version

A wrapper for the typescript factory that provide sensible currying to the API. Built specifically for the @typescript-runtime-schema, so your mileage may vary in terms of API coverage

Installation

Using npm:

npm install @typescript-runtime-schema/factory

Using yarn:

yarn add @typescript-runtime-schema/factory

API

Index

Variables

Functions

Variables

createArrayBindingPattern

Const createArrayBindingPattern: createArrayBindingPattern = ts.factory.createArrayBindingPattern

Defined in src/index.ts:71


createArrayTypeNode

Const createArrayTypeNode: createArrayTypeNode = ts.factory.createArrayTypeNode

Defined in src/index.ts:72


createAwaitExpression

Const createAwaitExpression: createAwaitExpression = ts.factory.createAwaitExpression

Defined in src/index.ts:73


createBigIntLiteral

Const createBigIntLiteral: createBigIntLiteral = ts.factory.createBigIntLiteral

Defined in src/index.ts:74


createBitwiseNot

Const createBitwiseNot: createBitwiseNot = ts.factory.createBitwiseNot

Defined in src/index.ts:75


createBreakStatement

Const createBreakStatement: createBreakStatement = ts.factory.createBreakStatement

Defined in src/index.ts:76


createCaseBlock

Const createCaseBlock: createCaseBlock = ts.factory.createCaseBlock

Defined in src/index.ts:77


createCommaListExpression

Const createCommaListExpression: createCommaListExpression = ts.factory.createCommaListExpression

Defined in src/index.ts:78


createComputedPropertyName

Const createComputedPropertyName: createComputedPropertyName = ts.factory.createComputedPropertyName

Defined in src/index.ts:79


createContinueStatement

Const createContinueStatement: createContinueStatement = ts.factory.createContinueStatement

Defined in src/index.ts:80


createDebuggerStatement

Const createDebuggerStatement: createDebuggerStatement = ts.factory.createDebuggerStatement

Defined in src/index.ts:81


createDecorator

Const createDecorator: createDecorator = ts.factory.createDecorator

Defined in src/index.ts:82


createDefaultClause

Const createDefaultClause: createDefaultClause = ts.factory.createDefaultClause

Defined in src/index.ts:83


createDeleteExpression

Const createDeleteExpression: createDeleteExpression = ts.factory.createDeleteExpression

Defined in src/index.ts:84


createEmptyStatement

Const createEmptyStatement: createEmptyStatement = ts.factory.createEmptyStatement

Defined in src/index.ts:85


createExportDefault

Const createExportDefault: createExportDefault = ts.factory.createExportDefault

Defined in src/index.ts:86


createExpressionStatement

Const createExpressionStatement: createExpressionStatement = ts.factory.createExpressionStatement

Defined in src/index.ts:87


createExternalModuleExport

Const createExternalModuleExport: createExternalModuleExport = ts.factory.createExternalModuleExport

Defined in src/index.ts:88


createExternalModuleReference

Const createExternalModuleReference: createExternalModuleReference = ts.factory.createExternalModuleReference

Defined in src/index.ts:89


createFalse

Const createFalse: createFalse = ts.factory.createFalse

Defined in src/index.ts:90


createIdentifier

Const createIdentifier: createIdentifier = ts.factory.createIdentifier

Defined in src/index.ts:91


createInferTypeNode

Const createInferTypeNode: createInferTypeNode = ts.factory.createInferTypeNode

Defined in src/index.ts:94


createIntersectionTypeNode

Const createIntersectionTypeNode: createIntersectionTypeNode = ts.factory.createIntersectionTypeNode

Defined in src/index.ts:95


createJSDocAllType

Const createJSDocAllType: createJSDocAllType = ts.factory.createJSDocAllType

Defined in src/index.ts:96


createJSDocNamepathType

Const createJSDocNamepathType: createJSDocNamepathType = ts.factory.createJSDocNamepathType

Defined in src/index.ts:97


createJSDocNonNullableType

Const createJSDocNonNullableType: createJSDocNonNullableType = ts.factory.createJSDocNonNullableType

Defined in src/index.ts:98


createJSDocNullableType

Const createJSDocNullableType: createJSDocNullableType = ts.factory.createJSDocNullableType

Defined in src/index.ts:99


createJSDocOptionalType

Const createJSDocOptionalType: createJSDocOptionalType = ts.factory.createJSDocOptionalType

Defined in src/index.ts:100


createJSDocTypeExpression

Const createJSDocTypeExpression: createJSDocTypeExpression = ts.factory.createJSDocTypeExpression

Defined in src/index.ts:101


createJSDocUnknownType

Const createJSDocUnknownType: createJSDocUnknownType = ts.factory.createJSDocUnknownType

Defined in src/index.ts:102


createJSDocVariadicType

Const createJSDocVariadicType: createJSDocVariadicType = ts.factory.createJSDocVariadicType

Defined in src/index.ts:103


createJsxAttributes

Const createJsxAttributes: createJsxAttributes = ts.factory.createJsxAttributes

Defined in src/index.ts:104


createJsxClosingElement

Const createJsxClosingElement: createJsxClosingElement = ts.factory.createJsxClosingElement

Defined in src/index.ts:105


createJsxJsxClosingFragment

Const createJsxJsxClosingFragment: createJsxJsxClosingFragment = ts.factory.createJsxJsxClosingFragment

Defined in src/index.ts:106


createJsxOpeningFragment

Const createJsxOpeningFragment: createJsxOpeningFragment = ts.factory.createJsxOpeningFragment

Defined in src/index.ts:107


createJsxSpreadAttribute

Const createJsxSpreadAttribute: createJsxSpreadAttribute = ts.factory.createJsxSpreadAttribute

Defined in src/index.ts:108


createKeywordTypeNode

Const createKeywordTypeNode: createKeywordTypeNode = ts.factory.createKeywordTypeNode

Defined in src/index.ts:109


createLogicalNot

Const createLogicalNot: createLogicalNot = ts.factory.createLogicalNot

Defined in src/index.ts:110


createLoopVariable

Const createLoopVariable: createLoopVariable = ts.factory.createLoopVariable

Defined in src/index.ts:111


createModifier

Const createModifier: createModifier = ts.factory.createModifier

Defined in src/index.ts:112


createModifiersFromModifierFlags

Const createModifiersFromModifierFlags: createModifiersFromModifierFlags = ts.factory.createModifiersFromModifierFlags

Defined in src/index.ts:113


createModuleBlock

Const createModuleBlock: createModuleBlock = ts.factory.createModuleBlock

Defined in src/index.ts:114


createNamedExports

Const createNamedExports: createNamedExports = ts.factory.createNamedExports

Defined in src/index.ts:115


createNamedImports

Const createNamedImports: createNamedImports = ts.factory.createNamedImports

Defined in src/index.ts:116


createNamespaceExport

Const createNamespaceExport: createNamespaceExport = ts.factory.createNamespaceExport

Defined in src/index.ts:117


createNamespaceExportDeclaration

Const createNamespaceExportDeclaration: createNamespaceExportDeclaration = ts.factory.createNamespaceExportDeclaration

Defined in src/index.ts:118


createNamespaceImport

Const createNamespaceImport: createNamespaceImport = ts.factory.createNamespaceImport

Defined in src/index.ts:119


createNonNullChain

Const createNonNullChain: createNonNullChain = ts.factory.createNonNullChain

Defined in src/index.ts:120


createNonNullExpression

Const createNonNullExpression: createNonNullExpression = ts.factory.createNonNullExpression

Defined in src/index.ts:121


createNotEmittedStatement

Const createNotEmittedStatement: createNotEmittedStatement = ts.factory.createNotEmittedStatement

Defined in src/index.ts:122


createNull

Const createNull: createNull = ts.factory.createNull

Defined in src/index.ts:123


createObjectBindingPattern

Const createObjectBindingPattern: createObjectBindingPattern = ts.factory.createObjectBindingPattern

Defined in src/index.ts:124


createOmittedExpression

Const createOmittedExpression: createOmittedExpression = ts.factory.createOmittedExpression

Defined in src/index.ts:125


createOptionalTypeNode

Const createOptionalTypeNode: createOptionalTypeNode = ts.factory.createOptionalTypeNode

Defined in src/index.ts:126


createParenthesizedExpression

Const createParenthesizedExpression: createParenthesizedExpression = ts.factory.createParenthesizedExpression

Defined in src/index.ts:127


createParenthesizedType

Const createParenthesizedType: createParenthesizedType = ts.factory.createParenthesizedType

Defined in src/index.ts:128


createPostfixDecrement

Const createPostfixDecrement: createPostfixDecrement = ts.factory.createPostfixDecrement

Defined in src/index.ts:129


createPostfixIncrement

Const createPostfixIncrement: createPostfixIncrement = ts.factory.createPostfixIncrement

Defined in src/index.ts:130


createPrefixDecrement

Const createPrefixDecrement: createPrefixDecrement = ts.factory.createPrefixDecrement

Defined in src/index.ts:131


createPrefixIncrement

Const createPrefixIncrement: createPrefixIncrement = ts.factory.createPrefixIncrement

Defined in src/index.ts:132


createPrefixMinus

Const createPrefixMinus: createPrefixMinus = ts.factory.createPrefixMinus

Defined in src/index.ts:133


createPrefixPlus

Const createPrefixPlus: createPrefixPlus = ts.factory.createPrefixPlus

Defined in src/index.ts:134


createPrivateIdentifier

Const createPrivateIdentifier: createPrivateIdentifier = ts.factory.createPrivateIdentifier

Defined in src/index.ts:135


createRegularExpressionLiteral

Const createRegularExpressionLiteral: createRegularExpressionLiteral = ts.factory.createRegularExpressionLiteral

Defined in src/index.ts:136


createRestTypeNode

Const createRestTypeNode: createRestTypeNode = ts.factory.createRestTypeNode

Defined in src/index.ts:137


createReturnStatement

Const createReturnStatement: createReturnStatement = ts.factory.createReturnStatement

Defined in src/index.ts:138


createSemicolonClassElement

Const createSemicolonClassElement: createSemicolonClassElement = ts.factory.createSemicolonClassElement

Defined in src/index.ts:139


createSpreadAssignment

Const createSpreadAssignment: createSpreadAssignment = ts.factory.createSpreadAssignment

Defined in src/index.ts:140


createSpreadElement

Const createSpreadElement: createSpreadElement = ts.factory.createSpreadElement

Defined in src/index.ts:141


createSuper

Const createSuper: createSuper = ts.factory.createSuper

Defined in src/index.ts:142


createThis

Const createThis: createThis = ts.factory.createThis

Defined in src/index.ts:143


createThisTypeNode

Const createThisTypeNode: createThisTypeNode = ts.factory.createThisTypeNode

Defined in src/index.ts:144


createThrowStatement

Const createThrowStatement: createThrowStatement = ts.factory.createThrowStatement

Defined in src/index.ts:145


createToken

Const createToken: createToken = ts.factory.createToken

Defined in src/index.ts:146


createTrue

Const createTrue: createTrue = ts.factory.createTrue

Defined in src/index.ts:147


createTypeLiteralNode

Const createTypeLiteralNode: createTypeLiteralNode = ts.factory.createTypeLiteralNode

Defined in src/index.ts:148


createTypeOfExpression

Const createTypeOfExpression: createTypeOfExpression = ts.factory.createTypeOfExpression

Defined in src/index.ts:149


createTypeQueryNode

Const createTypeQueryNode: createTypeQueryNode = ts.factory.createTypeQueryNode

Defined in src/index.ts:150


createUnionTypeNode

Const createUnionTypeNode: createUnionTypeNode = ts.factory.createUnionTypeNode

Defined in src/index.ts:151


createVoidExpression

Const createVoidExpression: createVoidExpression = ts.factory.createVoidExpression

Defined in src/index.ts:152


createVoidZero

Const createVoidZero: createVoidZero = ts.factory.createVoidZero

Defined in src/index.ts:153


getGeneratedNameForNode

Const getGeneratedNameForNode: getGeneratedNameForNode = ts.factory.getGeneratedNameForNode

Defined in src/index.ts:154

Functions

createAdd

ConstcreateAdd(right: Expression): (Anonymous function)

Defined in src/index.ts:155

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createArrayLiteralExpression

ConstcreateArrayLiteralExpression(multiLine?: boolean): (Anonymous function)

Defined in src/index.ts:156

Parameters:

Name | Type | ------ | ------ | multiLine? | boolean |

Returns: (Anonymous function)


createArrowFunction

ConstcreateArrowFunction(body: ts.ConciseBody): (Anonymous function)

Defined in src/index.ts:20

Parameters:

Name | Type | ------ | ------ | body | ts.ConciseBody |

Returns: (Anonymous function)


createAsExpression

ConstcreateAsExpression(type: TypeNode): (Anonymous function)

Defined in src/index.ts:157

Parameters:

Name | Type | ------ | ------ | type | TypeNode |

Returns: (Anonymous function)


createAssignment

createAssignment(right: Expression): function

Defined in src/index.ts:158

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: function

createAssignment(right: Expression): function

Defined in src/index.ts:159

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: function


createBinaryExpression

ConstcreateBinaryExpression(operator: ts.BinaryOperator | ts.BinaryOperatorToken, right: Expression): (Anonymous function)

Defined in src/index.ts:303

Parameters:

Name | Type | ------ | ------ | operator | ts.BinaryOperator | ts.BinaryOperatorToken | right | Expression |

Returns: (Anonymous function)


createBindingElement

ConstcreateBindingElement(dotDotDotToken: ts.DotDotDotToken | undefined, propertyName: string | ts.PropertyName | undefined, name: string | ts.BindingName): (Anonymous function)

Defined in src/index.ts:38

Parameters:

Name | Type | ------ | ------ | dotDotDotToken | ts.DotDotDotToken | undefined | propertyName | string | ts.PropertyName | undefined | name | string | ts.BindingName |

Returns: (Anonymous function)


createBitwiseAnd

ConstcreateBitwiseAnd(right: Expression): (Anonymous function)

Defined in src/index.ts:168

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createBitwiseOr

ConstcreateBitwiseOr(right: Expression): (Anonymous function)

Defined in src/index.ts:169

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createBitwiseXor

ConstcreateBitwiseXor(right: Expression): (Anonymous function)

Defined in src/index.ts:170

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createBlock

ConstcreateBlock(multiLine?: boolean): (Anonymous function)

Defined in src/index.ts:171

Parameters:

Name | Type | ------ | ------ | multiLine? | boolean |

Returns: (Anonymous function)


createBundle

ConstcreateBundle(prepends?: readonly (UnparsedSource | InputFiles)[]): (Anonymous function)

Defined in src/index.ts:52

Parameters:

Name | Type | ------ | ------ | prepends? | readonly (UnparsedSource | InputFiles)[] |

Returns: (Anonymous function)


createCallChain

ConstcreateCallChain(questionDotToken: ts.QuestionDotToken | undefined, typeArguments: readonly TypeNode[] | undefined, argumentsArray: readonly Expression[] | undefined): (Anonymous function)

Defined in src/index.ts:59

Parameters:

Name | Type | ------ | ------ | questionDotToken | ts.QuestionDotToken | undefined | typeArguments | readonly TypeNode[] | undefined | argumentsArray | readonly Expression[] | undefined |

Returns: (Anonymous function)


createCallExpression

ConstcreateCallExpression(typeArguments: readonly TypeNode[] | undefined, argumentsArray: readonly Expression[] | undefined): (Anonymous function)

Defined in src/index.ts:304

Parameters:

Name | Type | ------ | ------ | typeArguments | readonly TypeNode[] | undefined | argumentsArray | readonly Expression[] | undefined |

Returns: (Anonymous function)


createCallSignature

ConstcreateCallSignature(parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): (Anonymous function)

Defined in src/index.ts:305

Parameters:

Name | Type | ------ | ------ | parameters | readonly ParameterDeclaration[] | type | TypeNode | undefined |

Returns: (Anonymous function)


createCaseClause

ConstcreateCaseClause(statements: readonly Statement[]): (Anonymous function)

Defined in src/index.ts:172

Parameters:

Name | Type | ------ | ------ | statements | readonly Statement[] |

Returns: (Anonymous function)


createCatchClause

ConstcreateCatchClause(block: Block): (Anonymous function)

Defined in src/index.ts:173

Parameters:

Name | Type | ------ | ------ | block | Block |

Returns: (Anonymous function)


createComma

ConstcreateComma(right: Expression): (Anonymous function)

Defined in src/index.ts:174

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createConstructSignature

ConstcreateConstructSignature(parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): (Anonymous function)

Defined in src/index.ts:307

Parameters:

Name | Type | ------ | ------ | parameters | readonly ParameterDeclaration[] | type | TypeNode | undefined |

Returns: (Anonymous function)


createConstructorTypeNode

ConstcreateConstructorTypeNode(parameters: readonly ParameterDeclaration[], type: TypeNode): (Anonymous function)

Defined in src/index.ts:306

Parameters:

Name | Type | ------ | ------ | parameters | readonly ParameterDeclaration[] | type | TypeNode |

Returns: (Anonymous function)


createDivide

ConstcreateDivide(right: Expression): (Anonymous function)

Defined in src/index.ts:175

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createDoStatement

ConstcreateDoStatement(expression: Expression): (Anonymous function)

Defined in src/index.ts:176

Parameters:

Name | Type | ------ | ------ | expression | Expression |

Returns: (Anonymous function)


createElementAccessChain

ConstcreateElementAccessChain(questionDotToken: ts.QuestionDotToken | undefined, index: number | Expression): (Anonymous function)

Defined in src/index.ts:308

Parameters:

Name | Type | ------ | ------ | questionDotToken | ts.QuestionDotToken | undefined | index | number | Expression |

Returns: (Anonymous function)


createElementAccessExpression

ConstcreateElementAccessExpression(index: number | Expression): (Anonymous function)

Defined in src/index.ts:177

Parameters:

Name | Type | ------ | ------ | index | number | Expression |

Returns: (Anonymous function)


createEnumMember

ConstcreateEnumMember(initializer: Expression): (Anonymous function)

Defined in src/index.ts:178

Parameters:

Name | Type | ------ | ------ | initializer | Expression |

Returns: (Anonymous function)


createEquality

ConstcreateEquality(right: Expression): (Anonymous function)

Defined in src/index.ts:179

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createExponent

ConstcreateExponent(right: Expression): (Anonymous function)

Defined in src/index.ts:180

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createExportSpecifier

ConstcreateExportSpecifier(name: string | Identifier): (Anonymous function)

Defined in src/index.ts:181

Parameters:

Name | Type | ------ | ------ | name | string | Identifier |

Returns: (Anonymous function)


createExpressionWithTypeArguments

ConstcreateExpressionWithTypeArguments(typeArguments: readonly TypeNode[] | undefined): (Anonymous function)

Defined in src/index.ts:182

Parameters:

Name | Type | ------ | ------ | typeArguments | readonly TypeNode[] | undefined |

Returns: (Anonymous function)


createForInStatement

ConstcreateForInStatement(expression: Expression, statement: Statement): (Anonymous function)

Defined in src/index.ts:309

Parameters:

Name | Type | ------ | ------ | expression | Expression | statement | Statement |

Returns: (Anonymous function)


createFunctionTypeNode

ConstcreateFunctionTypeNode(parameters: readonly ParameterDeclaration[], type: TypeNode): (Anonymous function)

Defined in src/index.ts:310

Parameters:

Name | Type | ------ | ------ | parameters | readonly ParameterDeclaration[] | type | TypeNode |

Returns: (Anonymous function)


createGreaterThan

ConstcreateGreaterThan(right: Expression): (Anonymous function)

Defined in src/index.ts:183

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createGreaterThanEquals

ConstcreateGreaterThanEquals(right: Expression): (Anonymous function)

Defined in src/index.ts:184

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createIfStatement

ConstcreateIfStatement(thenStatement: Statement, elseStatement: Statement): (Anonymous function)

Defined in src/index.ts:311

Parameters:

Name | Type | ------ | ------ | thenStatement | Statement | elseStatement | Statement |

Returns: (Anonymous function)


createImmediatelyInvokedArrowFunction

ConstcreateImmediatelyInvokedArrowFunction(param: ParameterDeclaration | undefined, paramValue: Expression | undefined): (Anonymous function)

Defined in src/index.ts:312

Parameters:

Name | Type | ------ | ------ | param | ParameterDeclaration | undefined | paramValue | Expression | undefined |

Returns: (Anonymous function)


createImmediatelyInvokedFunctionExpression

ConstcreateImmediatelyInvokedFunctionExpression(param: ParameterDeclaration, paramValue: Expression): (Anonymous function)

Defined in src/index.ts:313

Parameters:

Name | Type | ------ | ------ | param | ParameterDeclaration | paramValue | Expression |

Returns: (Anonymous function)


createImportClause

ConstcreateImportClause(name: Identifier | undefined, namedBindings: ts.NamedImportBindings | undefined): (Anonymous function)

Defined in src/index.ts:314

Parameters:

Name | Type | ------ | ------ | name | Identifier | undefined | namedBindings | ts.NamedImportBindings | undefined |

Returns: (Anonymous function)


createImportSpecifier

ConstcreateImportSpecifier(name: Identifier): (Anonymous function)

Defined in src/index.ts:185

Parameters:

Name | Type | ------ | ------ | name | Identifier |

Returns: (Anonymous function)


createIndexedAccessTypeNode

ConstcreateIndexedAccessTypeNode(indexType: TypeNode): (Anonymous function)

Defined in src/index.ts:186

Parameters:

Name | Type | ------ | ------ | indexType | TypeNode |

Returns: (Anonymous function)


createInequality

ConstcreateInequality(right: Expression): (Anonymous function)

Defined in src/index.ts:187

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createJSDocAuthorTag

ConstcreateJSDocAuthorTag(comment?: string): (Anonymous function)

Defined in src/index.ts:188

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocClassTag

ConstcreateJSDocClassTag(comment?: string): (Anonymous function)

Defined in src/index.ts:189

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocComment

ConstcreateJSDocComment(tags: readonly JSDocTag[] | undefined): (Anonymous function)

Defined in src/index.ts:190

Parameters:

Name | Type | ------ | ------ | tags | readonly JSDocTag[] | undefined |

Returns: (Anonymous function)


createJSDocDeprecatedTag

ConstcreateJSDocDeprecatedTag(comment?: string): (Anonymous function)

Defined in src/index.ts:191

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocEnumTag

ConstcreateJSDocEnumTag(typeExpression: JSDocTypeExpression, comment?: string): (Anonymous function)

Defined in src/index.ts:315

Parameters:

Name | Type | ------ | ------ | typeExpression | JSDocTypeExpression | comment? | string |

Returns: (Anonymous function)


createJSDocFunctionType

ConstcreateJSDocFunctionType(type: TypeNode | undefined): (Anonymous function)

Defined in src/index.ts:192

Parameters:

Name | Type | ------ | ------ | type | TypeNode | undefined |

Returns: (Anonymous function)


createJSDocPrivateTag

ConstcreateJSDocPrivateTag(comment?: string): (Anonymous function)

Defined in src/index.ts:193

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocProtectedTag

ConstcreateJSDocProtectedTag(comment?: string): (Anonymous function)

Defined in src/index.ts:194

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocPublicTag

ConstcreateJSDocPublicTag(comment?: string): (Anonymous function)

Defined in src/index.ts:195

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocReadonlyTag

ConstcreateJSDocReadonlyTag(comment?: string): (Anonymous function)

Defined in src/index.ts:196

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJSDocReturnTag

ConstcreateJSDocReturnTag(typeExpression: JSDocTypeExpression, comment?: string): (Anonymous function)

Defined in src/index.ts:316

Parameters:

Name | Type | ------ | ------ | typeExpression | JSDocTypeExpression | comment? | string |

Returns: (Anonymous function)


createJSDocSignature

ConstcreateJSDocSignature(parameters: readonly JSDocParameterTag[], type: JSDocReturnTag): (Anonymous function)

Defined in src/index.ts:317

Parameters:

Name | Type | ------ | ------ | parameters | readonly JSDocParameterTag[] | type | JSDocReturnTag |

Returns: (Anonymous function)


createJSDocThisTag

ConstcreateJSDocThisTag(typeExpression: JSDocTypeExpression, comment?: string): (Anonymous function)

Defined in src/index.ts:318

Parameters:

Name | Type | ------ | ------ | typeExpression | JSDocTypeExpression | comment? | string |

Returns: (Anonymous function)


createJSDocTypeLiteral

ConstcreateJSDocTypeLiteral(isArrayType: boolean): (Anonymous function)

Defined in src/index.ts:197

Parameters:

Name | Type | ------ | ------ | isArrayType | boolean |

Returns: (Anonymous function)


createJSDocTypeTag

ConstcreateJSDocTypeTag(typeExpression: JSDocTypeExpression, comment?: string): (Anonymous function)

Defined in src/index.ts:319

Parameters:

Name | Type | ------ | ------ | typeExpression | JSDocTypeExpression | comment? | string |

Returns: (Anonymous function)


createJSDocUnknownTag

ConstcreateJSDocUnknownTag(comment?: string): (Anonymous function)

Defined in src/index.ts:198

Parameters:

Name | Type | ------ | ------ | comment? | string |

Returns: (Anonymous function)


createJsxAttribute

ConstcreateJsxAttribute(initializer: StringLiteral | JsxExpression | undefined): (Anonymous function)

Defined in src/index.ts:199

Parameters:

Name | Type | ------ | ------ | initializer | StringLiteral | JsxExpression | undefined |

Returns: (Anonymous function)


createJsxElement

ConstcreateJsxElement(children: readonly ts.JsxChild[], closingElement: JsxClosingElement): (Anonymous function)

Defined in src/index.ts:320

Parameters:

Name | Type | ------ | ------ | children | readonly ts.JsxChild[] | closingElement | JsxClosingElement |

Returns: (Anonymous function)


createJsxExpression

ConstcreateJsxExpression(expression: Expression | undefined): (Anonymous function)

Defined in src/index.ts:200

Parameters:

Name | Type | ------ | ------ | expression | Expression | undefined |

Returns: (Anonymous function)


createJsxFragment

ConstcreateJsxFragment(children: readonly ts.JsxChild[], closingFragment: JsxClosingFragment): (Anonymous function)

Defined in src/index.ts:321

Parameters:

Name | Type | ------ | ------ | children | readonly ts.JsxChild[] | closingFragment | JsxClosingFragment |

Returns: (Anonymous function)


createJsxOpeningElement

ConstcreateJsxOpeningElement(typeArguments: readonly TypeNode[] | undefined, attributes: JsxAttributes): (Anonymous function)

Defined in src/index.ts:322

Parameters:

Name | Type | ------ | ------ | typeArguments | readonly TypeNode[] | undefined | attributes | JsxAttributes |

Returns: (Anonymous function)


createJsxSelfClosingElement

ConstcreateJsxSelfClosingElement(typeArguments: readonly TypeNode[] | undefined, attributes: JsxAttributes): (Anonymous function)

Defined in src/index.ts:323

Parameters:

Name | Type | ------ | ------ | typeArguments | readonly TypeNode[] | undefined | attributes | JsxAttributes |

Returns: (Anonymous function)


createJsxText

ConstcreateJsxText(containsOnlyTriviaWhiteSpaces: boolean): (Anonymous function)

Defined in src/index.ts:201

Parameters:

Name | Type | ------ | ------ | containsOnlyTriviaWhiteSpaces | boolean |

Returns: (Anonymous function)


createLabeledStatement

ConstcreateLabeledStatement(statement: Statement): (Anonymous function)

Defined in src/index.ts:202

Parameters:

Name | Type | ------ | ------ | statement | Statement |

Returns: (Anonymous function)


createLeftShift

ConstcreateLeftShift(right: Expression): (Anonymous function)

Defined in src/index.ts:203

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createLessThan

ConstcreateLessThan(right: Expression): (Anonymous function)

Defined in src/index.ts:204

Parameters:

Name | Type | ------ | ------ | right | Expression |

Returns: (Anonymous function)


createLessThanEquals

ConstcreateLessThanEquals(right: Expression): (Anonymous function)

Defined in src/index.ts:205