Neuron Powered Motorization

    @typescript-runtime-schema/factory
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.6 • Public • Published

    @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

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createLogicalAnd

    ConstcreateLogicalAnd(right: Expression): (Anonymous function)

    Defined in src/index.ts:206

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createLogicalOr

    ConstcreateLogicalOr(right: Expression): (Anonymous function)

    Defined in src/index.ts:207

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createModulo

    ConstcreateModulo(right: Expression): (Anonymous function)

    Defined in src/index.ts:208

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createMultiply

    ConstcreateMultiply(right: Expression): (Anonymous function)

    Defined in src/index.ts:209

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createNewExpression

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

    Defined in src/index.ts:324

    Parameters:
    Name Type
    typeArguments readonly TypeNode[] | undefined
    argumentsArray readonly Expression[] | undefined

    Returns: (Anonymous function)


    createNodeArray

    ConstcreateNodeArray<T>(hasTrailingComma: boolean): (Anonymous function)

    Defined in src/index.ts:210

    Type parameters:
    Name Type
    T Node
    Parameters:
    Name Type
    hasTrailingComma boolean

    Returns: (Anonymous function)


    createNumericLiteral

    ConstcreateNumericLiteral(numericLiteralFlags?: TokenFlags): (Anonymous function)

    Defined in src/index.ts:213

    Parameters:
    Name Type
    numericLiteralFlags? TokenFlags

    Returns: (Anonymous function)


    createObjectLiteralExpression

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

    Defined in src/index.ts:214

    Parameters:
    Name Type
    multiLine? boolean

    Returns: (Anonymous function)


    createPartiallyEmittedExpression

    ConstcreatePartiallyEmittedExpression(original: Node): (Anonymous function)

    Defined in src/index.ts:215

    Parameters:
    Name Type
    original Node

    Returns: (Anonymous function)


    createPostfixUnaryExpression

    ConstcreatePostfixUnaryExpression(operator: ts.PostfixUnaryOperator): (Anonymous function)

    Defined in src/index.ts:216

    Parameters:
    Name Type
    operator ts.PostfixUnaryOperator

    Returns: (Anonymous function)


    createPrefixUnaryExpression

    ConstcreatePrefixUnaryExpression(operand: Expression): (Anonymous function)

    Defined in src/index.ts:217

    Parameters:
    Name Type
    operand Expression

    Returns: (Anonymous function)


    createPropertyAccessChain

    ConstcreatePropertyAccessChain(questionDotToken: ts.QuestionDotToken | undefined, name: string | Identifier | PrivateIdentifier): (Anonymous function)

    Defined in src/index.ts:325

    Parameters:
    Name Type
    questionDotToken ts.QuestionDotToken | undefined
    name string | Identifier | PrivateIdentifier

    Returns: (Anonymous function)


    createPropertyAccessExpression

    ConstcreatePropertyAccessExpression(name: string | Identifier | PrivateIdentifier): (Anonymous function)

    Defined in src/index.ts:218

    Parameters:
    Name Type
    name string | Identifier | PrivateIdentifier

    Returns: (Anonymous function)


    createPropertyAssignment

    ConstcreatePropertyAssignment(name: string | ts.PropertyName): (Anonymous function)

    Defined in src/index.ts:222

    This curried function, compared to most other functions, contains the original argument order to the TypeScript factory API

    Parameters:
    Name Type
    name string | ts.PropertyName

    Returns: (Anonymous function)


    createQualifiedName

    ConstcreateQualifiedName(right: string | Identifier): (Anonymous function)

    Defined in src/index.ts:223

    Parameters:
    Name Type
    right string | Identifier

    Returns: (Anonymous function)


    createRightShift

    ConstcreateRightShift(right: Expression): (Anonymous function)

    Defined in src/index.ts:224

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createShorthandPropertyAssignment

    ConstcreateShorthandPropertyAssignment(objectAssignmentInitializer: Expression): (Anonymous function)

    Defined in src/index.ts:225

    Parameters:
    Name Type
    objectAssignmentInitializer Expression

    Returns: (Anonymous function)


    createSourceFile

    ConstcreateSourceFile(endOfFileToken: ts.EndOfFileToken, flags: NodeFlags): (Anonymous function)

    Defined in src/index.ts:326

    Parameters:
    Name Type
    endOfFileToken ts.EndOfFileToken
    flags NodeFlags

    Returns: (Anonymous function)


    createStrictEquality

    ConstcreateStrictEquality(right: Expression): (Anonymous function)

    Defined in src/index.ts:226

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createStrictInequality

    ConstcreateStrictInequality(right: Expression): (Anonymous function)

    Defined in src/index.ts:227

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createStringLiteral

    ConstcreateStringLiteral(isSingleQuote?: boolean): (Anonymous function)

    Defined in src/index.ts:228

    Parameters:
    Name Type
    isSingleQuote? boolean

    Returns: (Anonymous function)


    createStringLiteralFromNode

    ConstcreateStringLiteralFromNode(isSingleQuote?: boolean): (Anonymous function)

    Defined in src/index.ts:229

    Parameters:
    Name Type
    isSingleQuote? boolean

    Returns: (Anonymous function)


    createSubtract

    ConstcreateSubtract(right: Expression): (Anonymous function)

    Defined in src/index.ts:230

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createSwitchStatement

    ConstcreateSwitchStatement(caseBlock: CaseBlock): (Anonymous function)

    Defined in src/index.ts:231

    Parameters:
    Name Type
    caseBlock CaseBlock

    Returns: (Anonymous function)


    createTaggedTemplateExpression

    ConstcreateTaggedTemplateExpression(typeArguments: readonly TypeNode[] | undefined, template: ts.TemplateLiteral): (Anonymous function)

    Defined in src/index.ts:327

    Parameters:
    Name Type
    typeArguments readonly TypeNode[] | undefined
    template ts.TemplateLiteral

    Returns: (Anonymous function)


    createTemplateExpression

    ConstcreateTemplateExpression(templateSpans: readonly TemplateSpan[]): (Anonymous function)

    Defined in src/index.ts:232

    Parameters:
    Name Type
    templateSpans readonly TemplateSpan[]

    Returns: (Anonymous function)


    createTemplateHead

    createTemplateHead(rawText: string, templateFlags: TokenFlags): function

    Defined in src/index.ts:328

    Parameters:
    Name Type
    rawText string
    templateFlags TokenFlags

    Returns: function

    createTemplateHead(rawText: string, templateFlags: TokenFlags): function

    Defined in src/index.ts:329

    Parameters:
    Name Type
    rawText string
    templateFlags TokenFlags

    Returns: function


    createTemplateSpan

    ConstcreateTemplateSpan(literal: TemplateMiddle | TemplateTail): (Anonymous function)

    Defined in src/index.ts:233

    Parameters:
    Name Type
    literal TemplateMiddle | TemplateTail

    Returns: (Anonymous function)


    createTryStatement

    ConstcreateTryStatement(catchClause: CatchClause | undefined, finallyBlock: Block | undefined): (Anonymous function)

    Defined in src/index.ts:342

    Parameters:
    Name Type
    catchClause CatchClause | undefined
    finallyBlock Block | undefined

    Returns: (Anonymous function)


    createTypeAssertion

    ConstcreateTypeAssertion(expression: Expression): (Anonymous function)

    Defined in src/index.ts:234

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    createTypeOperatorNode

    ConstcreateTypeOperatorNode(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:235

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    createTypeParameterDeclaration

    ConstcreateTypeParameterDeclaration(constraint: TypeNode, defaultType: TypeNode): (Anonymous function)

    Defined in src/index.ts:343

    Parameters:
    Name Type
    constraint TypeNode
    defaultType TypeNode

    Returns: (Anonymous function)


    createTypePredicateNode

    ConstcreateTypePredicateNode(parameterName: Identifier | ThisTypeNode | string, type: TypeNode | undefined): (Anonymous function)

    Defined in src/index.ts:344

    Parameters:
    Name Type
    parameterName Identifier | ThisTypeNode | string
    type TypeNode | undefined

    Returns: (Anonymous function)


    createTypeReferenceNode

    ConstcreateTypeReferenceNode(typeArguments: readonly TypeNode[]): (Anonymous function)

    Defined in src/index.ts:236

    Parameters:
    Name Type
    typeArguments readonly TypeNode[]

    Returns: (Anonymous function)


    createUniqueName

    ConstcreateUniqueName(flags?: GeneratedIdentifierFlags): (Anonymous function)

    Defined in src/index.ts:237

    Parameters:
    Name Type
    flags? GeneratedIdentifierFlags

    Returns: (Anonymous function)


    createUnsignedRightShift

    ConstcreateUnsignedRightShift(right: Expression): (Anonymous function)

    Defined in src/index.ts:238

    Parameters:
    Name Type
    right Expression

    Returns: (Anonymous function)


    createVariableDeclarationList

    ConstcreateVariableDeclarationList(flags: NodeFlags): (Anonymous function)

    Defined in src/index.ts:239

    Parameters:
    Name Type
    flags NodeFlags

    Returns: (Anonymous function)


    createVariableStatement

    ConstcreateVariableStatement(declarationList: VariableDeclarationList | readonly VariableDeclaration[]): (Anonymous function)

    Defined in src/index.ts:240

    Parameters:
    Name Type
    declarationList VariableDeclarationList | readonly VariableDeclaration[]

    Returns: (Anonymous function)


    createWhileStatement

    ConstcreateWhileStatement(statement: Statement): (Anonymous function)

    Defined in src/index.ts:241

    Parameters:
    Name Type
    statement Statement

    Returns: (Anonymous function)


    createWithStatement

    ConstcreateWithStatement(statement: Statement): (Anonymous function)

    Defined in src/index.ts:242

    Parameters:
    Name Type
    statement Statement

    Returns: (Anonymous function)


    restoreOuterExpressions

    ConstrestoreOuterExpressions(innerExpression: Expression, kinds: OuterExpressionKinds): (Anonymous function)

    Defined in src/index.ts:345

    Parameters:
    Name Type
    innerExpression Expression
    kinds OuterExpressionKinds

    Returns: (Anonymous function)


    updateArrayBindingPattern

    ConstupdateArrayBindingPattern(elements: readonly ts.ArrayBindingElement[]): (Anonymous function)

    Defined in src/index.ts:245

    Parameters:
    Name Type
    elements readonly ts.ArrayBindingElement[]

    Returns: (Anonymous function)


    updateArrayLiteralExpression

    ConstupdateArrayLiteralExpression(elements: readonly Expression[]): (Anonymous function)

    Defined in src/index.ts:246

    Parameters:
    Name Type
    elements readonly Expression[]

    Returns: (Anonymous function)


    updateArrayTypeNode

    ConstupdateArrayTypeNode(elementType: TypeNode): (Anonymous function)

    Defined in src/index.ts:247

    Parameters:
    Name Type
    elementType TypeNode

    Returns: (Anonymous function)


    updateAsExpression

    ConstupdateAsExpression(expression: Expression, type: TypeNode): (Anonymous function)

    Defined in src/index.ts:346

    Parameters:
    Name Type
    expression Expression
    type TypeNode

    Returns: (Anonymous function)


    updateAwaitExpression

    ConstupdateAwaitExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:248

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateBlock

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

    Defined in src/index.ts:249

    Parameters:
    Name Type
    statements readonly Statement[]

    Returns: (Anonymous function)


    updateBreakStatement

    ConstupdateBreakStatement(label: Identifier | undefined): (Anonymous function)

    Defined in src/index.ts:250

    Parameters:
    Name Type
    label Identifier | undefined

    Returns: (Anonymous function)


    updateCallExpression

    ConstupdateCallExpression(expression?: string | Identifier | Expression, typeArguments?: readonly TypeNode[], argumentsArray?: readonly Expression[]): (Anonymous function)

    Defined in src/index.ts:6

    Parameters:
    Name Type
    expression? string | Identifier | Expression
    typeArguments? readonly TypeNode[]
    argumentsArray? readonly Expression[]

    Returns: (Anonymous function)


    updateCaseBlock

    ConstupdateCaseBlock(clauses: readonly ts.CaseOrDefaultClause[]): (Anonymous function)

    Defined in src/index.ts:251

    Parameters:
    Name Type
    clauses readonly ts.CaseOrDefaultClause[]

    Returns: (Anonymous function)


    updateCaseClause

    ConstupdateCaseClause(expression: Expression, statements: readonly Statement[]): (Anonymous function)

    Defined in src/index.ts:347

    Parameters:
    Name Type
    expression Expression
    statements readonly Statement[]

    Returns: (Anonymous function)


    updateCatchClause

    ConstupdateCatchClause(variableDeclaration: VariableDeclaration | undefined, block: Block): (Anonymous function)

    Defined in src/index.ts:348

    Parameters:
    Name Type
    variableDeclaration VariableDeclaration | undefined
    block Block

    Returns: (Anonymous function)


    updateCommaListExpression

    ConstupdateCommaListExpression(elements: readonly Expression[]): (Anonymous function)

    Defined in src/index.ts:252

    Parameters:
    Name Type
    elements readonly Expression[]

    Returns: (Anonymous function)


    updateComputedPropertyName

    ConstupdateComputedPropertyName(expression: Expression): (Anonymous function)

    Defined in src/index.ts:253

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateContinueStatement

    ConstupdateContinueStatement(label: Identifier | undefined): (Anonymous function)

    Defined in src/index.ts:254

    Parameters:
    Name Type
    label Identifier | undefined

    Returns: (Anonymous function)


    updateDecorator

    ConstupdateDecorator(expression: Expression): (Anonymous function)

    Defined in src/index.ts:255

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateDefaultClause

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

    Defined in src/index.ts:256

    Parameters:
    Name Type
    statements readonly Statement[]

    Returns: (Anonymous function)


    updateDeleteExpression

    ConstupdateDeleteExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:257

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateDoStatement

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

    Defined in src/index.ts:349

    Parameters:
    Name Type
    statement Statement
    expression Expression

    Returns: (Anonymous function)


    updateElementAccessExpression

    ConstupdateElementAccessExpression(expression: Expression, argumentExpression: Expression): (Anonymous function)

    Defined in src/index.ts:350

    Parameters:
    Name Type
    expression Expression
    argumentExpression Expression

    Returns: (Anonymous function)


    updateEnumMember

    ConstupdateEnumMember(name: ts.PropertyName, initializer: Expression | undefined): (Anonymous function)

    Defined in src/index.ts:351

    Parameters:
    Name Type
    name ts.PropertyName
    initializer Expression | undefined

    Returns: (Anonymous function)


    updateExportSpecifier

    ConstupdateExportSpecifier(propertyName: Identifier | undefined, name: Identifier): (Anonymous function)

    Defined in src/index.ts:352

    Parameters:
    Name Type
    propertyName Identifier | undefined
    name Identifier

    Returns: (Anonymous function)


    updateExpressionStatement

    ConstupdateExpressionStatement(expression: Expression): (Anonymous function)

    Defined in src/index.ts:258

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateExpressionWithTypeArguments

    ConstupdateExpressionWithTypeArguments(expression: Expression, typeArguments: readonly TypeNode[] | undefined): (Anonymous function)

    Defined in src/index.ts:353

    Parameters:
    Name Type
    expression Expression
    typeArguments readonly TypeNode[] | undefined

    Returns: (Anonymous function)


    updateExternalModuleReference

    ConstupdateExternalModuleReference(expression: Expression): (Anonymous function)

    Defined in src/index.ts:259

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateHeritageClause

    ConstupdateHeritageClause(types: readonly ExpressionWithTypeArguments[]): (Anonymous function)

    Defined in src/index.ts:260

    Parameters:
    Name Type
    types readonly ExpressionWithTypeArguments[]

    Returns: (Anonymous function)


    updateImportSpecifier

    ConstupdateImportSpecifier(propertyName: Identifier | undefined, name: Identifier): (Anonymous function)

    Defined in src/index.ts:354

    Parameters:
    Name Type
    propertyName Identifier | undefined
    name Identifier

    Returns: (Anonymous function)


    updateIndexedAccessTypeNode

    ConstupdateIndexedAccessTypeNode(objectType: TypeNode, indexType: TypeNode): (Anonymous function)

    Defined in src/index.ts:355

    Parameters:
    Name Type
    objectType TypeNode
    indexType TypeNode

    Returns: (Anonymous function)


    updateInferTypeNode

    ConstupdateInferTypeNode(typeParameter: TypeParameterDeclaration): (Anonymous function)

    Defined in src/index.ts:261

    Parameters:
    Name Type
    typeParameter TypeParameterDeclaration

    Returns: (Anonymous function)


    updateIntersectionTypeNode

    ConstupdateIntersectionTypeNode(types: NodeArray<TypeNode>): (Anonymous function)

    Defined in src/index.ts:262

    Parameters:
    Name Type
    types NodeArray<TypeNode>

    Returns: (Anonymous function)


    updateJSDocAuthorTag

    ConstupdateJSDocAuthorTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:356

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocClassTag

    ConstupdateJSDocClassTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:357

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocComment

    ConstupdateJSDocComment(comment?: string | undefined, tags?: readonly JSDocTag[] | undefined): (Anonymous function)

    Defined in src/index.ts:358

    Parameters:
    Name Type
    comment? string | undefined
    tags? readonly JSDocTag[] | undefined

    Returns: (Anonymous function)


    updateJSDocDeprecatedTag

    ConstupdateJSDocDeprecatedTag(tagName: Identifier, comment?: string): (Anonymous function)

    Defined in src/index.ts:359

    Parameters:
    Name Type
    tagName Identifier
    comment? string

    Returns: (Anonymous function)


    updateJSDocFunctionType

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

    Defined in src/index.ts:360

    Parameters:
    Name Type
    parameters readonly ParameterDeclaration[]
    type TypeNode | undefined

    Returns: (Anonymous function)


    updateJSDocNamepathType

    ConstupdateJSDocNamepathType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:263

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJSDocNonNullableType

    ConstupdateJSDocNonNullableType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:264

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJSDocNullableType

    ConstupdateJSDocNullableType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:265

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJSDocOptionalType

    ConstupdateJSDocOptionalType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:266

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJSDocPrivateTag

    ConstupdateJSDocPrivateTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:361

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocProtectedTag

    ConstupdateJSDocProtectedTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:362

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocPublicTag

    ConstupdateJSDocPublicTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:363

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocReadonlyTag

    ConstupdateJSDocReadonlyTag(tagName: Identifier | undefined, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:364

    Parameters:
    Name Type
    tagName Identifier | undefined
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocTypeExpression

    ConstupdateJSDocTypeExpression(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:267

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJSDocTypeLiteral

    ConstupdateJSDocTypeLiteral(jsDocPropertyTags: readonly JSDocPropertyLikeTag[] | undefined, isArrayType: boolean | undefined): (Anonymous function)

    Defined in src/index.ts:365

    Parameters:
    Name Type
    jsDocPropertyTags readonly JSDocPropertyLikeTag[] | undefined
    isArrayType boolean | undefined

    Returns: (Anonymous function)


    updateJSDocUnknownTag

    ConstupdateJSDocUnknownTag(tagName: Identifier, comment?: string | undefined): (Anonymous function)

    Defined in src/index.ts:366

    Parameters:
    Name Type
    tagName Identifier
    comment? string | undefined

    Returns: (Anonymous function)


    updateJSDocVariadicType

    ConstupdateJSDocVariadicType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:268

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateJsxAttribute

    ConstupdateJsxAttribute(name: Identifier, initializer: StringLiteral | JsxExpression | undefined): (Anonymous function)

    Defined in src/index.ts:367

    Parameters:
    Name Type
    name Identifier
    initializer StringLiteral | JsxExpression | undefined

    Returns: (Anonymous function)


    updateJsxAttributes

    ConstupdateJsxAttributes(properties: readonly ts.JsxAttributeLike[]): (Anonymous function)

    Defined in src/index.ts:269

    Parameters:
    Name Type
    properties readonly ts.JsxAttributeLike[]

    Returns: (Anonymous function)


    updateJsxClosingElement

    ConstupdateJsxClosingElement(tagName: ts.JsxTagNameExpression): (Anonymous function)

    Defined in src/index.ts:270

    Parameters:
    Name Type
    tagName ts.JsxTagNameExpression

    Returns: (Anonymous function)


    updateJsxExpression

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

    Defined in src/index.ts:271

    Parameters:
    Name Type
    expression Expression | undefined

    Returns: (Anonymous function)


    updateJsxSpreadAttribute

    ConstupdateJsxSpreadAttribute(expression: Expression): (Anonymous function)

    Defined in src/index.ts:272

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateJsxText

    ConstupdateJsxText(text: string, containsOnlyTriviaWhiteSpaces: boolean): (Anonymous function)

    Defined in src/index.ts:368

    Parameters:
    Name Type
    text string
    containsOnlyTriviaWhiteSpaces boolean

    Returns: (Anonymous function)


    updateLabeledStatement

    ConstupdateLabeledStatement(label: Identifier, statement: Statement): (Anonymous function)

    Defined in src/index.ts:369

    Parameters:
    Name Type
    label Identifier
    statement Statement

    Returns: (Anonymous function)


    updateLiteralTypeNode

    ConstupdateLiteralTypeNode(literal: LiteralTypeNode["literal"]): (Anonymous function)

    Defined in src/index.ts:273

    Parameters:
    Name Type
    literal LiteralTypeNode["literal"]

    Returns: (Anonymous function)


    updateMetaProperty

    ConstupdateMetaProperty(name: Identifier): (Anonymous function)

    Defined in src/index.ts:274

    Parameters:
    Name Type
    name Identifier

    Returns: (Anonymous function)


    updateModuleBlock

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

    Defined in src/index.ts:275

    Parameters:
    Name Type
    statements readonly Statement[]

    Returns: (Anonymous function)


    updateNamedExports

    ConstupdateNamedExports(elements: readonly ExportSpecifier[]): (Anonymous function)

    Defined in src/index.ts:276

    Parameters:
    Name Type
    elements readonly ExportSpecifier[]

    Returns: (Anonymous function)


    updateNamedImports

    ConstupdateNamedImports(elements: readonly ImportSpecifier[]): (Anonymous function)

    Defined in src/index.ts:277

    Parameters:
    Name Type
    elements readonly ImportSpecifier[]

    Returns: (Anonymous function)


    updateNamespaceExport

    ConstupdateNamespaceExport(name: Identifier): (Anonymous function)

    Defined in src/index.ts:278

    Parameters:
    Name Type
    name Identifier

    Returns: (Anonymous function)


    updateNamespaceExportDeclaration

    ConstupdateNamespaceExportDeclaration(name: Identifier): (Anonymous function)

    Defined in src/index.ts:279

    Parameters:
    Name Type
    name Identifier

    Returns: (Anonymous function)


    updateNamespaceImport

    ConstupdateNamespaceImport(name: Identifier): (Anonymous function)

    Defined in src/index.ts:280

    Parameters:
    Name Type
    name Identifier

    Returns: (Anonymous function)


    updateNonNullChain

    ConstupdateNonNullChain(expression: Expression): (Anonymous function)

    Defined in src/index.ts:281

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateNonNullExpression

    ConstupdateNonNullExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:282

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateObjectBindingPattern

    ConstupdateObjectBindingPattern(elements: readonly BindingElement[]): (Anonymous function)

    Defined in src/index.ts:283

    Parameters:
    Name Type
    elements readonly BindingElement[]

    Returns: (Anonymous function)


    updateObjectLiteralExpression

    ConstupdateObjectLiteralExpression(properties: readonly ts.ObjectLiteralElementLike[]): (Anonymous function)

    Defined in src/index.ts:284

    Parameters:
    Name Type
    properties readonly ts.ObjectLiteralElementLike[]

    Returns: (Anonymous function)


    updateOptionalTypeNode

    ConstupdateOptionalTypeNode(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:285

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateParenthesizedExpression

    ConstupdateParenthesizedExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:286

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateParenthesizedType

    ConstupdateParenthesizedType(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:287

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updatePartiallyEmittedExpression

    ConstupdatePartiallyEmittedExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:288

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updatePostfixUnaryExpression

    ConstupdatePostfixUnaryExpression(operand: Expression): (Anonymous function)

    Defined in src/index.ts:289

    Parameters:
    Name Type
    operand Expression

    Returns: (Anonymous function)


    updatePrefixUnaryExpression

    ConstupdatePrefixUnaryExpression(operand: Expression): (Anonymous function)

    Defined in src/index.ts:290

    Parameters:
    Name Type
    operand Expression

    Returns: (Anonymous function)


    updatePropertyAccessExpression

    ConstupdatePropertyAccessExpression(expression: Expression, name: Identifier | PrivateIdentifier): (Anonymous function)

    Defined in src/index.ts:370

    Parameters:
    Name Type
    expression Expression
    name Identifier | PrivateIdentifier

    Returns: (Anonymous function)


    updatePropertyAssignment

    ConstupdatePropertyAssignment(name: ts.PropertyName, initializer: Expression): (Anonymous function)

    Defined in src/index.ts:371

    Parameters:
    Name Type
    name ts.PropertyName
    initializer Expression

    Returns: (Anonymous function)


    updateQualifiedName

    ConstupdateQualifiedName(left: ts.EntityName, right: Identifier): (Anonymous function)

    Defined in src/index.ts:372

    Parameters:
    Name Type
    left ts.EntityName
    right Identifier

    Returns: (Anonymous function)


    updateRestTypeNode

    ConstupdateRestTypeNode(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:291

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateReturnStatement

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

    Defined in src/index.ts:292

    Parameters:
    Name Type
    expression Expression | undefined

    Returns: (Anonymous function)


    updateShorthandPropertyAssignment

    ConstupdateShorthandPropertyAssignment(name: Identifier, objectAssignmentInitializer: Expression | undefined): (Anonymous function)

    Defined in src/index.ts:373

    Parameters:
    Name Type
    name Identifier
    objectAssignmentInitializer Expression | undefined

    Returns: (Anonymous function)


    updateSpreadAssignment

    ConstupdateSpreadAssignment(expression: Expression): (Anonymous function)

    Defined in src/index.ts:293

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateSpreadElement

    ConstupdateSpreadElement(expression: Expression): (Anonymous function)

    Defined in src/index.ts:294

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateSwitchStatement

    ConstupdateSwitchStatement(expression: Expression, caseBlock: CaseBlock): (Anonymous function)

    Defined in src/index.ts:374

    Parameters:
    Name Type
    expression Expression
    caseBlock CaseBlock

    Returns: (Anonymous function)


    updateTemplateExpression

    ConstupdateTemplateExpression(head: TemplateHead, templateSpans: readonly TemplateSpan[]): (Anonymous function)

    Defined in src/index.ts:375

    Parameters:
    Name Type
    head TemplateHead
    templateSpans readonly TemplateSpan[]

    Returns: (Anonymous function)


    updateTemplateSpan

    ConstupdateTemplateSpan(expression: Expression, literal: TemplateMiddle | TemplateTail): (Anonymous function)

    Defined in src/index.ts:376

    Parameters:
    Name Type
    expression Expression
    literal TemplateMiddle | TemplateTail

    Returns: (Anonymous function)


    updateThrowStatement

    ConstupdateThrowStatement(expression: Expression): (Anonymous function)

    Defined in src/index.ts:295

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateTypeAssertion

    ConstupdateTypeAssertion(type: TypeNode, expression: Expression): (Anonymous function)

    Defined in src/index.ts:377

    Parameters:
    Name Type
    type TypeNode
    expression Expression

    Returns: (Anonymous function)


    updateTypeLiteralNode

    ConstupdateTypeLiteralNode(members: NodeArray<TypeElement>): (Anonymous function)

    Defined in src/index.ts:296

    Parameters:
    Name Type
    members NodeArray<TypeElement>

    Returns: (Anonymous function)


    updateTypeOfExpression

    ConstupdateTypeOfExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:297

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateTypeOperatorNode

    ConstupdateTypeOperatorNode(type: TypeNode): (Anonymous function)

    Defined in src/index.ts:298

    Parameters:
    Name Type
    type TypeNode

    Returns: (Anonymous function)


    updateTypeQueryNode

    ConstupdateTypeQueryNode(exprName: ts.EntityName): (Anonymous function)

    Defined in src/index.ts:299

    Parameters:
    Name Type
    exprName ts.EntityName

    Returns: (Anonymous function)


    updateTypeReferenceNode

    ConstupdateTypeReferenceNode(typeName: ts.EntityName, typeArguments: NodeArray<TypeNode> | undefined): (Anonymous function)

    Defined in src/index.ts:378

    Parameters:
    Name Type
    typeName ts.EntityName
    typeArguments NodeArray<TypeNode> | undefined

    Returns: (Anonymous function)


    updateUnionTypeNode

    ConstupdateUnionTypeNode(types: NodeArray<TypeNode>): (Anonymous function)

    Defined in src/index.ts:300

    Parameters:
    Name Type
    types NodeArray<TypeNode>

    Returns: (Anonymous function)


    updateVariableDeclarationList

    ConstupdateVariableDeclarationList(declarations: readonly VariableDeclaration[]): (Anonymous function)

    Defined in src/index.ts:301

    Parameters:
    Name Type
    declarations readonly VariableDeclaration[]

    Returns: (Anonymous function)


    updateVariableStatement

    ConstupdateVariableStatement(modifiers: readonly ts.Modifier[] | undefined, declarationList: VariableDeclarationList): (Anonymous function)

    Defined in src/index.ts:379

    Parameters:
    Name Type
    modifiers readonly ts.Modifier[] | undefined
    declarationList VariableDeclarationList

    Returns: (Anonymous function)


    updateVoidExpression

    ConstupdateVoidExpression(expression: Expression): (Anonymous function)

    Defined in src/index.ts:302

    Parameters:
    Name Type
    expression Expression

    Returns: (Anonymous function)


    updateWhileStatement

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

    Defined in src/index.ts:380

    Parameters:
    Name Type
    expression Expression
    statement Statement

    Returns: (Anonymous function)


    updateWithStatement

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

    Defined in src/index.ts:381

    Parameters:
    Name Type
    expression Expression
    statement Statement

    Returns: (Anonymous function)


    updateYieldExpression

    ConstupdateYieldExpression(asteriskToken: ts.AsteriskToken | undefined, expression: Expression | undefined): (Anonymous function)

    Defined in src/index.ts:382

    Parameters:
    Name Type
    asteriskToken ts.AsteriskToken | undefined
    expression Expression | undefined

    Returns: (Anonymous function)

    License

    MIT License Copyright (c) 2021 Simon Johansson

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    Keywords

    none

    Install

    npm i @typescript-runtime-schema/factory

    DownloadsWeekly Downloads

    9

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    673 kB

    Total Files

    32

    Last publish

    Collaborators

    • simonlovesyou