@alloy-js/typescript 0.25.0-dev.2 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/dev/src/builtins/index.js.map +1 -1
- package/dist/dev/src/builtins/node.js.map +1 -1
- package/dist/dev/src/components/ArrayExpression.js +8 -8
- package/dist/dev/src/components/ArrayExpression.js.map +1 -1
- package/dist/dev/src/components/ArrowFunction.js +3 -3
- package/dist/dev/src/components/ArrowFunction.js.map +1 -1
- package/dist/dev/src/components/BarrelFile.js.map +1 -1
- package/dist/dev/src/components/BlockScope.js.map +1 -1
- package/dist/dev/src/components/CallSignature.js +1 -0
- package/dist/dev/src/components/CallSignature.js.map +1 -1
- package/dist/dev/src/components/ClassDeclaration.js +4 -4
- package/dist/dev/src/components/ClassDeclaration.js.map +1 -1
- package/dist/dev/src/components/CommaList.js +1 -1
- package/dist/dev/src/components/CommaList.js.map +1 -1
- package/dist/dev/src/components/Declaration.js +4 -3
- package/dist/dev/src/components/Declaration.js.map +1 -1
- package/dist/dev/src/components/EnumDeclaration.js +2 -2
- package/dist/dev/src/components/EnumDeclaration.js.map +1 -1
- package/dist/dev/src/components/EnumMember.js +6 -6
- package/dist/dev/src/components/EnumMember.js.map +1 -1
- package/dist/dev/src/components/ExportStatement.js +1 -1
- package/dist/dev/src/components/ExportStatement.js.map +1 -1
- package/dist/dev/src/components/FunctionBase.js +27 -27
- package/dist/dev/src/components/FunctionBase.js.map +1 -1
- package/dist/dev/src/components/FunctionCallExpression.js +3 -3
- package/dist/dev/src/components/FunctionCallExpression.js.map +1 -1
- package/dist/dev/src/components/FunctionDeclaration.js +12 -12
- package/dist/dev/src/components/FunctionDeclaration.js.map +1 -1
- package/dist/dev/src/components/FunctionExpression.js +3 -3
- package/dist/dev/src/components/FunctionExpression.js.map +1 -1
- package/dist/dev/src/components/FunctionType.js +9 -9
- package/dist/dev/src/components/FunctionType.js.map +1 -1
- package/dist/dev/src/components/IfStatement.js +1 -0
- package/dist/dev/src/components/IfStatement.js.map +1 -1
- package/dist/dev/src/components/ImportStatement.js +1 -1
- package/dist/dev/src/components/ImportStatement.js.map +1 -1
- package/dist/dev/src/components/Interface.js +19 -19
- package/dist/dev/src/components/Interface.js.map +1 -1
- package/dist/dev/src/components/InterfaceMethod.js +2 -2
- package/dist/dev/src/components/InterfaceMethod.js.map +1 -1
- package/dist/dev/src/components/JSDoc.js.map +1 -1
- package/dist/dev/src/components/JSDocComment.js +1 -0
- package/dist/dev/src/components/JSDocComment.js.map +1 -1
- package/dist/dev/src/components/JSDocExample.js.map +1 -1
- package/dist/dev/src/components/JSDocParam.js.map +1 -1
- package/dist/dev/src/components/LexicalScope.js +1 -1
- package/dist/dev/src/components/LexicalScope.js.map +1 -1
- package/dist/dev/src/components/MemberDeclaration.js +1 -1
- package/dist/dev/src/components/MemberDeclaration.js.map +1 -1
- package/dist/dev/src/components/MemberExpression.js +24 -20
- package/dist/dev/src/components/MemberExpression.js.map +1 -1
- package/dist/dev/src/components/MemberScope.js +1 -1
- package/dist/dev/src/components/MemberScope.js.map +1 -1
- package/dist/dev/src/components/NewExpression.js +1 -1
- package/dist/dev/src/components/NewExpression.js.map +1 -1
- package/dist/dev/src/components/ObjectExpression.js +14 -14
- package/dist/dev/src/components/ObjectExpression.js.map +1 -1
- package/dist/dev/src/components/PackageDirectory.js.map +1 -1
- package/dist/dev/src/components/PackageJson.js.map +1 -1
- package/dist/dev/src/components/PropertyName.js +1 -1
- package/dist/dev/src/components/PropertyName.js.map +1 -1
- package/dist/dev/src/components/Reference.js +1 -1
- package/dist/dev/src/components/Reference.js.map +1 -1
- package/dist/dev/src/components/SingleLineCommentBlock.js.map +1 -1
- package/dist/dev/src/components/SourceFile.js.map +1 -1
- package/dist/dev/src/components/SwitchStatement.js +2 -2
- package/dist/dev/src/components/SwitchStatement.js.map +1 -1
- package/dist/dev/src/components/TryStatement.js +1 -1
- package/dist/dev/src/components/TryStatement.js.map +1 -1
- package/dist/dev/src/components/TryStatement.test.js.map +1 -1
- package/dist/dev/src/components/TsConfigJson.js.map +1 -1
- package/dist/dev/src/components/TypeDeclaration.js +5 -5
- package/dist/dev/src/components/TypeDeclaration.js.map +1 -1
- package/dist/dev/src/components/TypeRefContext.js.map +1 -1
- package/dist/dev/src/components/ValueExpression.js +2 -2
- package/dist/dev/src/components/ValueExpression.js.map +1 -1
- package/dist/dev/src/components/VarDeclaration.js +1 -1
- package/dist/dev/src/components/VarDeclaration.js.map +1 -1
- package/dist/dev/src/components/index.js +0 -1
- package/dist/dev/src/components/index.js.map +1 -1
- package/dist/dev/src/components/interface/expression.test.js.map +1 -1
- package/dist/dev/src/components/stc/index.js.map +1 -1
- package/dist/dev/src/context/index.js.map +1 -1
- package/dist/dev/src/context/package-metadata.js.map +1 -1
- package/dist/dev/src/context/type-ref-context.js.map +1 -1
- package/dist/dev/src/create-package.js.map +1 -1
- package/dist/dev/src/index.js +0 -1
- package/dist/dev/src/index.js.map +1 -1
- package/dist/dev/src/name-conflict-resolver.js.map +1 -1
- package/dist/dev/src/name-policy.js.map +1 -1
- package/dist/dev/src/parameter-descriptor.js.map +1 -1
- package/dist/dev/src/source-directory-data.js.map +1 -1
- package/dist/dev/src/symbols/index.js.map +1 -1
- package/dist/dev/src/symbols/reference.js +6 -6
- package/dist/dev/src/symbols/reference.js.map +1 -1
- package/dist/dev/src/symbols/scopes.js.map +1 -1
- package/dist/dev/src/symbols/ts-lexical-scope.js.map +1 -1
- package/dist/dev/src/symbols/ts-member-scope.js.map +1 -1
- package/dist/dev/src/symbols/ts-module-scope.js.map +1 -1
- package/dist/dev/src/symbols/ts-output-symbol.js.map +1 -1
- package/dist/dev/src/symbols/ts-package-scope.js.map +1 -1
- package/dist/dev/src/utils.js.map +1 -1
- package/dist/dev/test/array.test.js.map +1 -1
- package/dist/dev/test/arrow-function.test.js +38 -38
- package/dist/dev/test/arrow-function.test.js.map +1 -1
- package/dist/dev/test/barrel.test.js.map +1 -1
- package/dist/dev/test/basic.test.js.map +1 -1
- package/dist/dev/test/block-scope.test.js.map +1 -1
- package/dist/dev/test/class.test.js.map +1 -1
- package/dist/dev/test/decl-helpers.test.js +1 -1
- package/dist/dev/test/decl-helpers.test.js.map +1 -1
- package/dist/dev/test/enum-jsdoc.test.js.map +1 -1
- package/dist/dev/test/enum.test.js.map +1 -1
- package/dist/dev/test/externals.test.js +2 -2
- package/dist/dev/test/externals.test.js.map +1 -1
- package/dist/dev/test/function-call-expression.test.js.map +1 -1
- package/dist/dev/test/function-declaration-jsdoc.test.js.map +1 -1
- package/dist/dev/test/function-declaration.test.js +1 -1
- package/dist/dev/test/function-declaration.test.js.map +1 -1
- package/dist/dev/test/function-expression.test.js +38 -38
- package/dist/dev/test/function-expression.test.js.map +1 -1
- package/dist/dev/test/function-type.test.js +27 -27
- package/dist/dev/test/function-type.test.js.map +1 -1
- package/dist/dev/test/if-statement.test.js.map +1 -1
- package/dist/dev/test/imports-reactive.test.js.map +1 -1
- package/dist/dev/test/imports.test.js.map +1 -1
- package/dist/dev/test/interface-jsdoc.test.js.map +1 -1
- package/dist/dev/test/interface.test.js.map +1 -1
- package/dist/dev/test/jscomment.test.js.map +1 -1
- package/dist/dev/test/jsdoc.test.js.map +1 -1
- package/dist/dev/test/jsdocparam.test.js.map +1 -1
- package/dist/dev/test/member-expression.test.js +109 -42
- package/dist/dev/test/member-expression.test.js.map +1 -1
- package/dist/dev/test/name-conflict.test.js +3 -3
- package/dist/dev/test/name-conflict.test.js.map +1 -1
- package/dist/dev/test/name-policy.test.js.map +1 -1
- package/dist/dev/test/new-expression.test.js.map +1 -1
- package/dist/dev/test/object.test.js.map +1 -1
- package/dist/dev/test/package-external.test.js.map +1 -1
- package/dist/dev/test/package-json.test.js.map +1 -1
- package/dist/dev/test/package.test.js +1 -1
- package/dist/dev/test/package.test.js.map +1 -1
- package/dist/dev/test/reference.test.js +94 -2
- package/dist/dev/test/reference.test.js.map +1 -1
- package/dist/dev/test/source-file.test.js.map +1 -1
- package/dist/dev/test/switch-statement.test.js.map +1 -1
- package/dist/dev/test/utils.js +2 -2
- package/dist/dev/test/utils.js.map +1 -1
- package/dist/dev/test/value-expression.test.js.map +1 -1
- package/dist/dev/test/values.test.js.map +1 -1
- package/dist/dev/test/var-declaration-jsdoc.test.js.map +1 -1
- package/dist/dev/test/var-declaration.test.js +3 -3
- package/dist/dev/test/var-declaration.test.js.map +1 -1
- package/dist/dev/test/vitest.setup.js.map +1 -1
- package/dist/dev/testing/create-wrapper.js.map +1 -1
- package/dist/dev/testing/create-wrapper.test.js +19 -19
- package/dist/dev/testing/create-wrapper.test.js.map +1 -1
- package/dist/dev/testing/index.js.map +1 -1
- package/dist/src/builtins/index.js.map +1 -1
- package/dist/src/builtins/node.d.ts +1 -1
- package/dist/src/builtins/node.d.ts.map +1 -1
- package/dist/src/builtins/node.js.map +1 -1
- package/dist/src/components/ArrayExpression.d.ts +1 -1
- package/dist/src/components/ArrayExpression.d.ts.map +1 -1
- package/dist/src/components/ArrayExpression.js.map +1 -1
- package/dist/src/components/ArrowFunction.d.ts +1 -1
- package/dist/src/components/ArrowFunction.d.ts.map +1 -1
- package/dist/src/components/ArrowFunction.js.map +1 -1
- package/dist/src/components/BarrelFile.js.map +1 -1
- package/dist/src/components/BlockScope.d.ts +1 -1
- package/dist/src/components/BlockScope.d.ts.map +1 -1
- package/dist/src/components/BlockScope.js.map +1 -1
- package/dist/src/components/CallSignature.d.ts +1 -1
- package/dist/src/components/CallSignature.d.ts.map +1 -1
- package/dist/src/components/CallSignature.js +1 -0
- package/dist/src/components/CallSignature.js.map +1 -1
- package/dist/src/components/ClassDeclaration.d.ts +3 -3
- package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
- package/dist/src/components/ClassDeclaration.js.map +1 -1
- package/dist/src/components/CommaList.d.ts +1 -1
- package/dist/src/components/CommaList.d.ts.map +1 -1
- package/dist/src/components/CommaList.js.map +1 -1
- package/dist/src/components/Declaration.d.ts +3 -3
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +2 -1
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/EnumDeclaration.d.ts +1 -1
- package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
- package/dist/src/components/EnumDeclaration.js.map +1 -1
- package/dist/src/components/EnumMember.d.ts +1 -1
- package/dist/src/components/EnumMember.d.ts.map +1 -1
- package/dist/src/components/EnumMember.js.map +1 -1
- package/dist/src/components/ExportStatement.d.ts +1 -1
- package/dist/src/components/ExportStatement.d.ts.map +1 -1
- package/dist/src/components/ExportStatement.js.map +1 -1
- package/dist/src/components/FunctionBase.d.ts +1 -1
- package/dist/src/components/FunctionBase.d.ts.map +1 -1
- package/dist/src/components/FunctionBase.js.map +1 -1
- package/dist/src/components/FunctionCallExpression.d.ts +1 -1
- package/dist/src/components/FunctionCallExpression.d.ts.map +1 -1
- package/dist/src/components/FunctionCallExpression.js.map +1 -1
- package/dist/src/components/FunctionDeclaration.d.ts +2 -2
- package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
- package/dist/src/components/FunctionDeclaration.js.map +1 -1
- package/dist/src/components/FunctionExpression.d.ts +1 -1
- package/dist/src/components/FunctionExpression.d.ts.map +1 -1
- package/dist/src/components/FunctionExpression.js.map +1 -1
- package/dist/src/components/FunctionType.d.ts +1 -1
- package/dist/src/components/FunctionType.d.ts.map +1 -1
- package/dist/src/components/FunctionType.js.map +1 -1
- package/dist/src/components/IfStatement.js +1 -0
- package/dist/src/components/IfStatement.js.map +1 -1
- package/dist/src/components/ImportStatement.d.ts +1 -1
- package/dist/src/components/ImportStatement.d.ts.map +1 -1
- package/dist/src/components/ImportStatement.js.map +1 -1
- package/dist/src/components/Interface.d.ts +3 -3
- package/dist/src/components/Interface.d.ts.map +1 -1
- package/dist/src/components/Interface.js.map +1 -1
- package/dist/src/components/InterfaceMethod.d.ts +3 -2
- package/dist/src/components/InterfaceMethod.d.ts.map +1 -1
- package/dist/src/components/InterfaceMethod.js.map +1 -1
- package/dist/src/components/JSDoc.js.map +1 -1
- package/dist/src/components/JSDocComment.js +1 -0
- package/dist/src/components/JSDocComment.js.map +1 -1
- package/dist/src/components/JSDocExample.js.map +1 -1
- package/dist/src/components/JSDocParam.d.ts +1 -1
- package/dist/src/components/JSDocParam.d.ts.map +1 -1
- package/dist/src/components/JSDocParam.js.map +1 -1
- package/dist/src/components/LexicalScope.d.ts +1 -1
- package/dist/src/components/LexicalScope.d.ts.map +1 -1
- package/dist/src/components/LexicalScope.js.map +1 -1
- package/dist/src/components/MemberDeclaration.d.ts +3 -3
- package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
- package/dist/src/components/MemberDeclaration.js.map +1 -1
- package/dist/src/components/MemberExpression.d.ts +1 -1
- package/dist/src/components/MemberExpression.d.ts.map +1 -1
- package/dist/src/components/MemberExpression.js +8 -4
- package/dist/src/components/MemberExpression.js.map +1 -1
- package/dist/src/components/MemberScope.d.ts +2 -2
- package/dist/src/components/MemberScope.d.ts.map +1 -1
- package/dist/src/components/MemberScope.js.map +1 -1
- package/dist/src/components/NewExpression.d.ts +1 -1
- package/dist/src/components/NewExpression.d.ts.map +1 -1
- package/dist/src/components/NewExpression.js.map +1 -1
- package/dist/src/components/ObjectExpression.d.ts +1 -1
- package/dist/src/components/ObjectExpression.d.ts.map +1 -1
- package/dist/src/components/ObjectExpression.js.map +1 -1
- package/dist/src/components/PackageDirectory.d.ts +3 -3
- package/dist/src/components/PackageDirectory.d.ts.map +1 -1
- package/dist/src/components/PackageDirectory.js.map +1 -1
- package/dist/src/components/PackageJson.js.map +1 -1
- package/dist/src/components/PropertyName.js.map +1 -1
- package/dist/src/components/Reference.d.ts +1 -1
- package/dist/src/components/Reference.d.ts.map +1 -1
- package/dist/src/components/Reference.js.map +1 -1
- package/dist/src/components/SingleLineCommentBlock.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts +2 -1
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/SwitchStatement.js.map +1 -1
- package/dist/src/components/TryStatement.js.map +1 -1
- package/dist/src/components/TryStatement.test.js.map +1 -1
- package/dist/src/components/TsConfigJson.js.map +1 -1
- package/dist/src/components/TypeDeclaration.d.ts +1 -1
- package/dist/src/components/TypeDeclaration.d.ts.map +1 -1
- package/dist/src/components/TypeDeclaration.js.map +1 -1
- package/dist/src/components/TypeRefContext.js.map +1 -1
- package/dist/src/components/ValueExpression.d.ts +1 -1
- package/dist/src/components/ValueExpression.d.ts.map +1 -1
- package/dist/src/components/ValueExpression.js.map +1 -1
- package/dist/src/components/VarDeclaration.d.ts +2 -2
- package/dist/src/components/VarDeclaration.d.ts.map +1 -1
- package/dist/src/components/VarDeclaration.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +0 -1
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/interface/expression.test.js.map +1 -1
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/context/index.js.map +1 -1
- package/dist/src/context/package-metadata.d.ts +2 -2
- package/dist/src/context/package-metadata.d.ts.map +1 -1
- package/dist/src/context/package-metadata.js.map +1 -1
- package/dist/src/context/type-ref-context.d.ts +1 -1
- package/dist/src/context/type-ref-context.d.ts.map +1 -1
- package/dist/src/context/type-ref-context.js.map +1 -1
- package/dist/src/create-package.d.ts +2 -1
- package/dist/src/create-package.d.ts.map +1 -1
- package/dist/src/create-package.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +0 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/name-conflict-resolver.d.ts +1 -1
- package/dist/src/name-conflict-resolver.d.ts.map +1 -1
- package/dist/src/name-conflict-resolver.js.map +1 -1
- package/dist/src/name-policy.d.ts +1 -1
- package/dist/src/name-policy.d.ts.map +1 -1
- package/dist/src/name-policy.js.map +1 -1
- package/dist/src/parameter-descriptor.js.map +1 -1
- package/dist/src/source-directory-data.d.ts +2 -2
- package/dist/src/source-directory-data.d.ts.map +1 -1
- package/dist/src/source-directory-data.js.map +1 -1
- package/dist/src/symbols/index.d.ts +3 -2
- package/dist/src/symbols/index.d.ts.map +1 -1
- package/dist/src/symbols/index.js.map +1 -1
- package/dist/src/symbols/reference.d.ts +2 -2
- package/dist/src/symbols/reference.d.ts.map +1 -1
- package/dist/src/symbols/reference.js.map +1 -1
- package/dist/src/symbols/scopes.d.ts +2 -2
- package/dist/src/symbols/scopes.d.ts.map +1 -1
- package/dist/src/symbols/scopes.js.map +1 -1
- package/dist/src/symbols/ts-lexical-scope.js.map +1 -1
- package/dist/src/symbols/ts-member-scope.d.ts +3 -3
- package/dist/src/symbols/ts-member-scope.d.ts.map +1 -1
- package/dist/src/symbols/ts-member-scope.js.map +1 -1
- package/dist/src/symbols/ts-module-scope.d.ts +1 -1
- package/dist/src/symbols/ts-module-scope.d.ts.map +1 -1
- package/dist/src/symbols/ts-module-scope.js.map +1 -1
- package/dist/src/symbols/ts-output-symbol.d.ts +3 -2
- package/dist/src/symbols/ts-output-symbol.d.ts.map +1 -1
- package/dist/src/symbols/ts-output-symbol.js.map +1 -1
- package/dist/src/symbols/ts-package-scope.d.ts +3 -2
- package/dist/src/symbols/ts-package-scope.d.ts.map +1 -1
- package/dist/src/symbols/ts-package-scope.js.map +1 -1
- package/dist/src/utils.d.ts +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js.map +1 -1
- package/dist/test/array.test.js.map +1 -1
- package/dist/test/arrow-function.test.js.map +1 -1
- package/dist/test/barrel.test.js.map +1 -1
- package/dist/test/basic.test.js.map +1 -1
- package/dist/test/block-scope.test.js.map +1 -1
- package/dist/test/class.test.js.map +1 -1
- package/dist/test/decl-helpers.test.js.map +1 -1
- package/dist/test/enum-jsdoc.test.js.map +1 -1
- package/dist/test/enum.test.js.map +1 -1
- package/dist/test/externals.test.js.map +1 -1
- package/dist/test/function-call-expression.test.js.map +1 -1
- package/dist/test/function-declaration-jsdoc.test.js.map +1 -1
- package/dist/test/function-declaration.test.js.map +1 -1
- package/dist/test/function-expression.test.js.map +1 -1
- package/dist/test/function-type.test.js.map +1 -1
- package/dist/test/if-statement.test.js.map +1 -1
- package/dist/test/imports-reactive.test.js.map +1 -1
- package/dist/test/imports.test.js.map +1 -1
- package/dist/test/interface-jsdoc.test.js.map +1 -1
- package/dist/test/interface.test.js.map +1 -1
- package/dist/test/jscomment.test.js.map +1 -1
- package/dist/test/jsdoc.test.js.map +1 -1
- package/dist/test/jsdocparam.test.js.map +1 -1
- package/dist/test/member-expression.test.js +31 -0
- package/dist/test/member-expression.test.js.map +1 -1
- package/dist/test/name-conflict.test.js.map +1 -1
- package/dist/test/name-policy.test.js.map +1 -1
- package/dist/test/new-expression.test.js.map +1 -1
- package/dist/test/object.test.js.map +1 -1
- package/dist/test/package-external.test.js.map +1 -1
- package/dist/test/package-json.test.js.map +1 -1
- package/dist/test/package.test.js.map +1 -1
- package/dist/test/reference.test.js +46 -2
- package/dist/test/reference.test.js.map +1 -1
- package/dist/test/source-file.test.js.map +1 -1
- package/dist/test/switch-statement.test.js.map +1 -1
- package/dist/test/utils.d.ts +1 -1
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/test/utils.js.map +1 -1
- package/dist/test/value-expression.test.js.map +1 -1
- package/dist/test/values.test.js.map +1 -1
- package/dist/test/var-declaration-jsdoc.test.js.map +1 -1
- package/dist/test/var-declaration.test.js.map +1 -1
- package/dist/test/vitest.setup.js.map +1 -1
- package/dist/testing/create-wrapper.js.map +1 -1
- package/dist/testing/create-wrapper.test.js.map +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/api/components/ArrowFunction.md +9 -9
- package/docs/api/components/BlockScope.md +20 -20
- package/docs/api/components/CallSignature.md +7 -7
- package/docs/api/components/CatchClause.md +4 -4
- package/docs/api/components/ClassDeclaration.md +4 -4
- package/docs/api/components/ClassField.md +15 -15
- package/docs/api/components/ClassMember.md +12 -12
- package/docs/api/components/ClassMethod.md +19 -19
- package/docs/api/components/Declaration.md +16 -16
- package/docs/api/components/EnumMember.md +8 -8
- package/docs/api/components/ExportStatement.md +4 -4
- package/docs/api/components/FunctionCallExpression.md +4 -4
- package/docs/api/components/FunctionDeclaration.md +9 -9
- package/docs/api/components/FunctionExpression.md +9 -9
- package/docs/api/components/InterfaceDeclaration.md +4 -4
- package/docs/api/components/InterfaceMember.md +18 -18
- package/docs/api/components/InterfaceMethod.md +12 -12
- package/docs/api/components/NewExpression.md +4 -4
- package/docs/api/components/ObjectExpression.md +1 -1
- package/docs/api/components/ObjectProperty.md +8 -8
- package/docs/api/components/ObjectSpreadProperty.md +5 -5
- package/docs/api/components/PackageDirectory.md +2 -2
- package/docs/api/components/PackageJsonFile.md +16 -16
- package/docs/api/components/SourceFile.md +7 -7
- package/docs/api/components/VarDeclaration.md +8 -8
- package/docs/api/functions/createInstanceMemberSymbol.md +16 -16
- package/docs/api/functions/createLexicalScope.md +5 -5
- package/docs/api/functions/createMemberScope.md +5 -5
- package/docs/api/functions/createMemberSymbol.md +16 -16
- package/docs/api/functions/createPrivateInstanceMemberSymbol.md +16 -16
- package/docs/api/functions/createPrivateStaticMemberSymbol.md +16 -16
- package/docs/api/functions/createStaticMemberSymbol.md +16 -16
- package/docs/api/functions/createTypeAndValueSymbol.md +16 -16
- package/docs/api/functions/createTypeSymbol.md +16 -16
- package/docs/api/functions/createValueSymbol.md +16 -16
- package/docs/api/functions/decl.md +16 -16
- package/docs/api/functions/declMember.md +16 -16
- package/docs/api/functions/declType.md +16 -16
- package/docs/api/types/CreateTsSymbolOptions.md +6 -6
- package/docs/api/types/DeclarationPropsBase.md +4 -4
- package/docs/api/types/FunctionBodyProps.md +3 -3
- package/docs/api/types/FunctionParametersProps.md +4 -4
- package/docs/api/types/FunctionTypeParametersProps.md +4 -4
- package/docs/api/types/FunctionTypeProps.md +5 -5
- package/docs/api/types/InterfaceExpressionProps.md +3 -3
- package/docs/api/types/InterfaceMemberPropsBase.md +7 -7
- package/docs/api/types/MemberExpressionPartProps.md +11 -11
- package/docs/api/types/ModuleSymbolsDescriptor.md +4 -4
- package/docs/api/types/ParameterDescriptor.md +3 -3
- package/docs/api/types/ParameterDescriptorBase.md +10 -10
- package/docs/api/types/SourceFileHeaderProps.md +4 -4
- package/docs/api/types/TypeParameterDescriptor.md +7 -7
- package/docs/api/types/TypeParametersProps.md +4 -4
- package/package.json +7 -7
- package/src/builtins/node.ts +1 -1
- package/src/components/ArrayExpression.tsx +2 -1
- package/src/components/ArrowFunction.tsx +2 -1
- package/src/components/BarrelFile.tsx +1 -1
- package/src/components/BlockScope.tsx +2 -2
- package/src/components/CallSignature.tsx +1 -1
- package/src/components/ClassDeclaration.tsx +5 -5
- package/src/components/CommaList.tsx +2 -1
- package/src/components/Declaration.tsx +7 -13
- package/src/components/EnumDeclaration.tsx +1 -1
- package/src/components/EnumMember.tsx +2 -1
- package/src/components/ExportStatement.tsx +1 -1
- package/src/components/FunctionBase.tsx +4 -7
- package/src/components/FunctionCallExpression.tsx +2 -1
- package/src/components/FunctionDeclaration.tsx +4 -2
- package/src/components/FunctionExpression.tsx +2 -1
- package/src/components/FunctionType.tsx +2 -1
- package/src/components/ImportStatement.tsx +1 -1
- package/src/components/Interface.tsx +4 -5
- package/src/components/InterfaceMethod.tsx +3 -3
- package/src/components/JSDocParam.tsx +1 -1
- package/src/components/LexicalScope.tsx +2 -1
- package/src/components/MemberDeclaration.tsx +6 -8
- package/src/components/MemberExpression.tsx +28 -20
- package/src/components/MemberScope.tsx +3 -6
- package/src/components/NewExpression.tsx +2 -4
- package/src/components/ObjectExpression.tsx +1 -3
- package/src/components/PackageDirectory.tsx +5 -5
- package/src/components/PropertyName.tsx +1 -1
- package/src/components/Reference.tsx +2 -1
- package/src/components/SourceFile.tsx +1 -1
- package/src/components/TypeDeclaration.tsx +2 -1
- package/src/components/ValueExpression.tsx +2 -1
- package/src/components/VarDeclaration.tsx +2 -2
- package/src/components/index.ts +1 -1
- package/src/context/package-metadata.ts +3 -2
- package/src/context/type-ref-context.tsx +2 -5
- package/src/create-package.ts +1 -2
- package/src/index.ts +1 -1
- package/src/name-conflict-resolver.ts +3 -2
- package/src/name-policy.ts +2 -1
- package/src/source-directory-data.ts +3 -2
- package/src/symbols/index.ts +3 -3
- package/src/symbols/reference.tsx +6 -4
- package/src/symbols/scopes.ts +2 -2
- package/src/symbols/ts-member-scope.ts +3 -3
- package/src/symbols/ts-module-scope.ts +2 -6
- package/src/symbols/ts-output-symbol.ts +2 -4
- package/src/symbols/ts-package-scope.ts +3 -7
- package/src/utils.ts +1 -1
- package/temp/api.json +1 -1
- package/test/arrow-function.test.tsx +3 -2
- package/test/function-declaration.test.tsx +2 -2
- package/test/function-expression.test.tsx +3 -2
- package/test/function-type.test.tsx +3 -2
- package/test/interface.test.tsx +2 -2
- package/test/member-expression.test.tsx +24 -1
- package/test/name-conflict.test.tsx +4 -3
- package/test/reference.test.tsx +40 -1
- package/test/utils.tsx +2 -1
- package/testing/create-wrapper.test.tsx +2 -1
- package/tsdoc-metadata.json +1 -1
- package/vitest.config.ts +0 -12
|
@@ -16,22 +16,22 @@ function createTypeSymbol(name: string | Namekey, options?: CreateTsSymbolOption
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
| |
|
|
20
|
-
| --------------------- |
|
|
21
|
-
| aliasTarget | optional
|
|
22
|
-
| binder | optional
|
|
23
|
-
| default | optional boolean
|
|
24
|
-
| export | optional boolean
|
|
25
|
-
| hasInstanceMembers | optional boolean
|
|
26
|
-
| ignoreNameConflict | optional boolean
|
|
27
|
-
| ignoreNamePolicy | optional boolean
|
|
28
|
-
| lazyMemberInitializer | optional () => void
|
|
29
|
-
| metadata | optional Record\<string, unknown>
|
|
30
|
-
| namePolicy | optional
|
|
31
|
-
| refkeys | optional
|
|
32
|
-
| transient | optional boolean
|
|
33
|
-
| tsFlags | optional
|
|
34
|
-
| type | optional
|
|
19
|
+
| | | |
|
|
20
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| aliasTarget | optional[OutputSymbol](../../../core/types/outputsymbol/) | The symbol this symbol is an alias for. |
|
|
22
|
+
| binder | optional[Binder](../../../core/types/binder/) | The binder instance associated with this symbol. Symbol updates and changes will be reported to this binder. This binder will be able to find this symbol via its refkey and other means. Without a binder, this symbol will be unbound, which means it cannot be referenced by refkey. When constructing an external library symbol, pass `{ binder }` here to ensure the symbol is registered with the binder. See [TO\_SYMBOL](../../../core/variables/to_symbol/) for the full implementation protocol. |
|
|
23
|
+
| default | optional boolean | |
|
|
24
|
+
| export | optional boolean | |
|
|
25
|
+
| hasInstanceMembers | optional boolean | |
|
|
26
|
+
| ignoreNameConflict | optional boolean | Whether the name of this symbol should bypass the active name conflict resolution. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring name conflict resolution. |
|
|
27
|
+
| ignoreNamePolicy | optional boolean | Whether the name of this symbol should bypass the active name policy. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring the name policy. |
|
|
28
|
+
| lazyMemberInitializer | optional () => void | Provide a function which lazy-initializes members the first time `resolveMemberByName()` is called on this symbol. Called at most once. Only `resolveMemberByName()` triggers this callback — iterating `OutputMemberSpace` directly does not. The callback fires regardless of whether the symbol belongs to any scope, so it is safe to use on scopeless external library symbols. |
|
|
29
|
+
| metadata | optional Record\<string, unknown> | Arbitrary metadata about this symbol. |
|
|
30
|
+
| namePolicy | optional[NamePolicyGetter](../../../core/types/namepolicygetter/) | When provided, this symbol will be named according to the provided name policy. |
|
|
31
|
+
| refkeys | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | The refkey or refkeys associated with this symbol. |
|
|
32
|
+
| transient | optional boolean | Whether this symbol is transient. |
|
|
33
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
34
|
+
| type | optional[OutputSymbol](../../../core/types/outputsymbol/) \| Ref<[OutputSymbol](../../../core/types/outputsymbol/) \| undefined> | The symbol that provides type information for this symbol. When present, this symbol will not contain its own members, and instead members will be provided by the type. This can be provided a Ref, in which case the type will be the value of that ref. |
|
|
35
35
|
|
|
36
36
|
## Returns
|
|
37
37
|
|
|
@@ -16,22 +16,22 @@ function createValueSymbol(name: string | Namekey, options?: CreateTsSymbolOptio
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
| |
|
|
20
|
-
| --------------------- |
|
|
21
|
-
| aliasTarget | optional
|
|
22
|
-
| binder | optional
|
|
23
|
-
| default | optional boolean
|
|
24
|
-
| export | optional boolean
|
|
25
|
-
| hasInstanceMembers | optional boolean
|
|
26
|
-
| ignoreNameConflict | optional boolean
|
|
27
|
-
| ignoreNamePolicy | optional boolean
|
|
28
|
-
| lazyMemberInitializer | optional () => void
|
|
29
|
-
| metadata | optional Record\<string, unknown>
|
|
30
|
-
| namePolicy | optional
|
|
31
|
-
| refkeys | optional
|
|
32
|
-
| transient | optional boolean
|
|
33
|
-
| tsFlags | optional
|
|
34
|
-
| type | optional
|
|
19
|
+
| | | |
|
|
20
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| aliasTarget | optional[OutputSymbol](../../../core/types/outputsymbol/) | The symbol this symbol is an alias for. |
|
|
22
|
+
| binder | optional[Binder](../../../core/types/binder/) | The binder instance associated with this symbol. Symbol updates and changes will be reported to this binder. This binder will be able to find this symbol via its refkey and other means. Without a binder, this symbol will be unbound, which means it cannot be referenced by refkey. When constructing an external library symbol, pass `{ binder }` here to ensure the symbol is registered with the binder. See [TO\_SYMBOL](../../../core/variables/to_symbol/) for the full implementation protocol. |
|
|
23
|
+
| default | optional boolean | |
|
|
24
|
+
| export | optional boolean | |
|
|
25
|
+
| hasInstanceMembers | optional boolean | |
|
|
26
|
+
| ignoreNameConflict | optional boolean | Whether the name of this symbol should bypass the active name conflict resolution. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring name conflict resolution. |
|
|
27
|
+
| ignoreNamePolicy | optional boolean | Whether the name of this symbol should bypass the active name policy. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring the name policy. |
|
|
28
|
+
| lazyMemberInitializer | optional () => void | Provide a function which lazy-initializes members the first time `resolveMemberByName()` is called on this symbol. Called at most once. Only `resolveMemberByName()` triggers this callback — iterating `OutputMemberSpace` directly does not. The callback fires regardless of whether the symbol belongs to any scope, so it is safe to use on scopeless external library symbols. |
|
|
29
|
+
| metadata | optional Record\<string, unknown> | Arbitrary metadata about this symbol. |
|
|
30
|
+
| namePolicy | optional[NamePolicyGetter](../../../core/types/namepolicygetter/) | When provided, this symbol will be named according to the provided name policy. |
|
|
31
|
+
| refkeys | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | The refkey or refkeys associated with this symbol. |
|
|
32
|
+
| transient | optional boolean | Whether this symbol is transient. |
|
|
33
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
34
|
+
| type | optional[OutputSymbol](../../../core/types/outputsymbol/) \| Ref<[OutputSymbol](../../../core/types/outputsymbol/) \| undefined> | The symbol that provides type information for this symbol. When present, this symbol will not contain its own members, and instead members will be provided by the type. This can be provided a Ref, in which case the type will be the value of that ref. |
|
|
35
35
|
|
|
36
36
|
## Returns
|
|
37
37
|
|
|
@@ -16,22 +16,22 @@ function decl(namekey: Namekey, options?: CreateTsSymbolOptions): import("@alloy
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
| |
|
|
20
|
-
| --------------------- |
|
|
21
|
-
| aliasTarget | optional
|
|
22
|
-
| binder | optional
|
|
23
|
-
| default | optional boolean
|
|
24
|
-
| export | optional boolean
|
|
25
|
-
| hasInstanceMembers | optional boolean
|
|
26
|
-
| ignoreNameConflict | optional boolean
|
|
27
|
-
| ignoreNamePolicy | optional boolean
|
|
28
|
-
| lazyMemberInitializer | optional () => void
|
|
29
|
-
| metadata | optional Record\<string, unknown>
|
|
30
|
-
| namePolicy | optional
|
|
31
|
-
| refkeys | optional
|
|
32
|
-
| transient | optional boolean
|
|
33
|
-
| tsFlags | optional
|
|
34
|
-
| type | optional
|
|
19
|
+
| | | |
|
|
20
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| aliasTarget | optional[OutputSymbol](../../../core/types/outputsymbol/) | The symbol this symbol is an alias for. |
|
|
22
|
+
| binder | optional[Binder](../../../core/types/binder/) | The binder instance associated with this symbol. Symbol updates and changes will be reported to this binder. This binder will be able to find this symbol via its refkey and other means. Without a binder, this symbol will be unbound, which means it cannot be referenced by refkey. When constructing an external library symbol, pass `{ binder }` here to ensure the symbol is registered with the binder. See [TO\_SYMBOL](../../../core/variables/to_symbol/) for the full implementation protocol. |
|
|
23
|
+
| default | optional boolean | |
|
|
24
|
+
| export | optional boolean | |
|
|
25
|
+
| hasInstanceMembers | optional boolean | |
|
|
26
|
+
| ignoreNameConflict | optional boolean | Whether the name of this symbol should bypass the active name conflict resolution. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring name conflict resolution. |
|
|
27
|
+
| ignoreNamePolicy | optional boolean | Whether the name of this symbol should bypass the active name policy. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring the name policy. |
|
|
28
|
+
| lazyMemberInitializer | optional () => void | Provide a function which lazy-initializes members the first time `resolveMemberByName()` is called on this symbol. Called at most once. Only `resolveMemberByName()` triggers this callback — iterating `OutputMemberSpace` directly does not. The callback fires regardless of whether the symbol belongs to any scope, so it is safe to use on scopeless external library symbols. |
|
|
29
|
+
| metadata | optional Record\<string, unknown> | Arbitrary metadata about this symbol. |
|
|
30
|
+
| namePolicy | optional[NamePolicyGetter](../../../core/types/namepolicygetter/) | When provided, this symbol will be named according to the provided name policy. |
|
|
31
|
+
| refkeys | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | The refkey or refkeys associated with this symbol. |
|
|
32
|
+
| transient | optional boolean | Whether this symbol is transient. |
|
|
33
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
34
|
+
| type | optional[OutputSymbol](../../../core/types/outputsymbol/) \| Ref<[OutputSymbol](../../../core/types/outputsymbol/) \| undefined> | The symbol that provides type information for this symbol. When present, this symbol will not contain its own members, and instead members will be provided by the type. This can be provided a Ref, in which case the type will be the value of that ref. |
|
|
35
35
|
|
|
36
36
|
## Returns
|
|
37
37
|
|
|
@@ -20,22 +20,22 @@ function declMember(namekey: Namekey, locationOptions?: {
|
|
|
20
20
|
|
|
21
21
|
## Options
|
|
22
22
|
|
|
23
|
-
| |
|
|
24
|
-
| --------------------- |
|
|
25
|
-
| aliasTarget | optional
|
|
26
|
-
| binder | optional
|
|
27
|
-
| default | optional boolean
|
|
28
|
-
| export | optional boolean
|
|
29
|
-
| hasInstanceMembers | optional boolean
|
|
30
|
-
| ignoreNameConflict | optional boolean
|
|
31
|
-
| ignoreNamePolicy | optional boolean
|
|
32
|
-
| lazyMemberInitializer | optional () => void
|
|
33
|
-
| metadata | optional Record\<string, unknown>
|
|
34
|
-
| namePolicy | optional
|
|
35
|
-
| refkeys | optional
|
|
36
|
-
| transient | optional boolean
|
|
37
|
-
| tsFlags | optional
|
|
38
|
-
| type | optional
|
|
23
|
+
| | | |
|
|
24
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| aliasTarget | optional[OutputSymbol](../../../core/types/outputsymbol/) | The symbol this symbol is an alias for. |
|
|
26
|
+
| binder | optional[Binder](../../../core/types/binder/) | The binder instance associated with this symbol. Symbol updates and changes will be reported to this binder. This binder will be able to find this symbol via its refkey and other means. Without a binder, this symbol will be unbound, which means it cannot be referenced by refkey. When constructing an external library symbol, pass `{ binder }` here to ensure the symbol is registered with the binder. See [TO\_SYMBOL](../../../core/variables/to_symbol/) for the full implementation protocol. |
|
|
27
|
+
| default | optional boolean | |
|
|
28
|
+
| export | optional boolean | |
|
|
29
|
+
| hasInstanceMembers | optional boolean | |
|
|
30
|
+
| ignoreNameConflict | optional boolean | Whether the name of this symbol should bypass the active name conflict resolution. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring name conflict resolution. |
|
|
31
|
+
| ignoreNamePolicy | optional boolean | Whether the name of this symbol should bypass the active name policy. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring the name policy. |
|
|
32
|
+
| lazyMemberInitializer | optional () => void | Provide a function which lazy-initializes members the first time `resolveMemberByName()` is called on this symbol. Called at most once. Only `resolveMemberByName()` triggers this callback — iterating `OutputMemberSpace` directly does not. The callback fires regardless of whether the symbol belongs to any scope, so it is safe to use on scopeless external library symbols. |
|
|
33
|
+
| metadata | optional Record\<string, unknown> | Arbitrary metadata about this symbol. |
|
|
34
|
+
| namePolicy | optional[NamePolicyGetter](../../../core/types/namepolicygetter/) | When provided, this symbol will be named according to the provided name policy. |
|
|
35
|
+
| refkeys | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | The refkey or refkeys associated with this symbol. |
|
|
36
|
+
| transient | optional boolean | Whether this symbol is transient. |
|
|
37
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
38
|
+
| type | optional[OutputSymbol](../../../core/types/outputsymbol/) \| Ref<[OutputSymbol](../../../core/types/outputsymbol/) \| undefined> | The symbol that provides type information for this symbol. When present, this symbol will not contain its own members, and instead members will be provided by the type. This can be provided a Ref, in which case the type will be the value of that ref. |
|
|
39
39
|
|
|
40
40
|
## Returns
|
|
41
41
|
|
|
@@ -16,22 +16,22 @@ function declType(namekey: Namekey, options?: CreateTsSymbolOptions): import("@a
|
|
|
16
16
|
|
|
17
17
|
## Options
|
|
18
18
|
|
|
19
|
-
| |
|
|
20
|
-
| --------------------- |
|
|
21
|
-
| aliasTarget | optional
|
|
22
|
-
| binder | optional
|
|
23
|
-
| default | optional boolean
|
|
24
|
-
| export | optional boolean
|
|
25
|
-
| hasInstanceMembers | optional boolean
|
|
26
|
-
| ignoreNameConflict | optional boolean
|
|
27
|
-
| ignoreNamePolicy | optional boolean
|
|
28
|
-
| lazyMemberInitializer | optional () => void
|
|
29
|
-
| metadata | optional Record\<string, unknown>
|
|
30
|
-
| namePolicy | optional
|
|
31
|
-
| refkeys | optional
|
|
32
|
-
| transient | optional boolean
|
|
33
|
-
| tsFlags | optional
|
|
34
|
-
| type | optional
|
|
19
|
+
| | | |
|
|
20
|
+
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
|
+
| aliasTarget | optional[OutputSymbol](../../../core/types/outputsymbol/) | The symbol this symbol is an alias for. |
|
|
22
|
+
| binder | optional[Binder](../../../core/types/binder/) | The binder instance associated with this symbol. Symbol updates and changes will be reported to this binder. This binder will be able to find this symbol via its refkey and other means. Without a binder, this symbol will be unbound, which means it cannot be referenced by refkey. When constructing an external library symbol, pass `{ binder }` here to ensure the symbol is registered with the binder. See [TO\_SYMBOL](../../../core/variables/to_symbol/) for the full implementation protocol. |
|
|
23
|
+
| default | optional boolean | |
|
|
24
|
+
| export | optional boolean | |
|
|
25
|
+
| hasInstanceMembers | optional boolean | |
|
|
26
|
+
| ignoreNameConflict | optional boolean | Whether the name of this symbol should bypass the active name conflict resolution. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring name conflict resolution. |
|
|
27
|
+
| ignoreNamePolicy | optional boolean | Whether the name of this symbol should bypass the active name policy. When true, the name of this symbol will be fixed, though it may conflict with other symbols which are also ignoring the name policy. |
|
|
28
|
+
| lazyMemberInitializer | optional () => void | Provide a function which lazy-initializes members the first time `resolveMemberByName()` is called on this symbol. Called at most once. Only `resolveMemberByName()` triggers this callback — iterating `OutputMemberSpace` directly does not. The callback fires regardless of whether the symbol belongs to any scope, so it is safe to use on scopeless external library symbols. |
|
|
29
|
+
| metadata | optional Record\<string, unknown> | Arbitrary metadata about this symbol. |
|
|
30
|
+
| namePolicy | optional[NamePolicyGetter](../../../core/types/namepolicygetter/) | When provided, this symbol will be named according to the provided name policy. |
|
|
31
|
+
| refkeys | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | The refkey or refkeys associated with this symbol. |
|
|
32
|
+
| transient | optional boolean | Whether this symbol is transient. |
|
|
33
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
34
|
+
| type | optional[OutputSymbol](../../../core/types/outputsymbol/) \| Ref<[OutputSymbol](../../../core/types/outputsymbol/) \| undefined> | The symbol that provides type information for this symbol. When present, this symbol will not contain its own members, and instead members will be provided by the type. This can be provided a Ref, in which case the type will be the value of that ref. |
|
|
35
35
|
|
|
36
36
|
## Returns
|
|
37
37
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Extends [OutputSymbolOptions](../../../core/types/outputsymboloptions/)
|
|
6
6
|
|
|
7
|
-
| |
|
|
8
|
-
| ------------------ |
|
|
9
|
-
| default | optional boolean
|
|
10
|
-
| export | optional boolean
|
|
11
|
-
| hasInstanceMembers | optional boolean
|
|
12
|
-
| tsFlags | optional
|
|
7
|
+
| | | |
|
|
8
|
+
| ------------------ | ------------------------------------------------------- | - |
|
|
9
|
+
| default | optional boolean | |
|
|
10
|
+
| export | optional boolean | |
|
|
11
|
+
| hasInstanceMembers | optional boolean | |
|
|
12
|
+
| tsFlags | optional[TSSymbolFlags](../../variables/tssymbolflags/) | |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Members
|
|
4
4
|
|
|
5
|
-
| |
|
|
6
|
-
| -------- |
|
|
7
|
-
| children | optional
|
|
8
|
-
| doc | optional
|
|
5
|
+
| | | |
|
|
6
|
+
| -------- | ------------------------------------------------- | ---------------------------------- |
|
|
7
|
+
| children | optional[Children](../../../core/types/children/) | |
|
|
8
|
+
| doc | optional[Children](../../../core/types/children/) | Documentation for this declaration |
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
## Members
|
|
4
4
|
|
|
5
|
-
| |
|
|
6
|
-
| -------- |
|
|
7
|
-
| children | optional
|
|
5
|
+
| | | |
|
|
6
|
+
| -------- | ------------------------------------------------- | - |
|
|
7
|
+
| children | optional[Children](../../../core/types/children/) | |
|
|
@@ -4,7 +4,7 @@ Props for function parameters
|
|
|
4
4
|
|
|
5
5
|
## Members
|
|
6
6
|
|
|
7
|
-
| |
|
|
8
|
-
| ---------- |
|
|
9
|
-
| children | optional
|
|
10
|
-
| parameters | optional
|
|
7
|
+
| | | |
|
|
8
|
+
| ---------- | ---------------------------------------------------------------------- | ------------ |
|
|
9
|
+
| children | optional[Children](../../../core/types/children/) | Jsx Children |
|
|
10
|
+
| parameters | optional[ParameterDescriptor](../parameterdescriptor/)\[] \| string\[] | Parameters |
|
|
@@ -4,7 +4,7 @@ Props for a function type(FunctionType or InterfaceMethod)
|
|
|
4
4
|
|
|
5
5
|
## Members
|
|
6
6
|
|
|
7
|
-
| |
|
|
8
|
-
| ---------- |
|
|
9
|
-
| children | optional
|
|
10
|
-
| parameters | optional
|
|
7
|
+
| | | |
|
|
8
|
+
| ---------- | ---------------------------------------------------------------------- | ------------ |
|
|
9
|
+
| children | optional[Children](../../../core/types/children/) | Jsx Children |
|
|
10
|
+
| parameters | optional[ParameterDescriptor](../parameterdescriptor/)\[] \| string\[] | Parameters |
|
|
@@ -6,8 +6,8 @@ Options for [FunctionType](../../variables/functiontype/) component.
|
|
|
6
6
|
|
|
7
7
|
Extends [CallSignatureProps](../../components/callsignature/)
|
|
8
8
|
|
|
9
|
-
| |
|
|
10
|
-
| -------- |
|
|
11
|
-
| async | optional boolean
|
|
12
|
-
| children | optional
|
|
13
|
-
| doc | optional
|
|
9
|
+
| | | |
|
|
10
|
+
| -------- | ------------------------------------------------- | ------------------------------ |
|
|
11
|
+
| async | optional boolean | If the method is async |
|
|
12
|
+
| children | optional[Children](../../../core/types/children/) | Jsx content |
|
|
13
|
+
| doc | optional[Children](../../../core/types/children/) | Documentation for this method. |
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
## Members
|
|
4
4
|
|
|
5
|
-
| |
|
|
6
|
-
| -------- |
|
|
7
|
-
| children | optional
|
|
5
|
+
| | | |
|
|
6
|
+
| -------- | ------------------------------------------------- | - |
|
|
7
|
+
| children | optional[Children](../../../core/types/children/) | |
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Members
|
|
4
4
|
|
|
5
|
-
| |
|
|
6
|
-
| -------- |
|
|
7
|
-
| children | optional
|
|
8
|
-
| doc | optional
|
|
9
|
-
| readonly | optional boolean
|
|
10
|
-
| refkey | optional
|
|
11
|
-
| type | optional
|
|
5
|
+
| | | |
|
|
6
|
+
| -------- | ----------------------------------------------------------------------------------------- | - |
|
|
7
|
+
| children | optional[Children](../../../core/types/children/) | |
|
|
8
|
+
| doc | optional[Children](../../../core/types/children/) | |
|
|
9
|
+
| readonly | optional boolean | |
|
|
10
|
+
| refkey | optional[Refkey](../../../core/types/refkey/) \| [Refkey](../../../core/types/refkey/)\[] | |
|
|
11
|
+
| type | optional[Children](../../../core/types/children/) | |
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Members
|
|
4
4
|
|
|
5
|
-
| |
|
|
6
|
-
| -------- |
|
|
7
|
-
| args | optional
|
|
8
|
-
| await | optional boolean
|
|
9
|
-
| children | optional
|
|
10
|
-
| id | optional string \| number
|
|
11
|
-
| index | optional number
|
|
12
|
-
| nullish | optional boolean
|
|
13
|
-
| quoteId | optional boolean
|
|
14
|
-
| refkey | optional
|
|
15
|
-
| symbol | optional
|
|
5
|
+
| | | |
|
|
6
|
+
| -------- | --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
7
|
+
| args | optional[Children](../../../core/types/children/)\[] \| boolean | Arguments to construct a call expression. |
|
|
8
|
+
| await | optional boolean | Whether to await the value that results from this part of the member expression. |
|
|
9
|
+
| children | optional[Children](../../../core/types/children/) | The contents of this part. When passed, overrides the other props except nullish. |
|
|
10
|
+
| id | optional string \| number | The identifier for this part of the member expression. |
|
|
11
|
+
| index | optional number | The index for this part of the member expression. This is used when the part is an array access (i.e. `foo[0]`). |
|
|
12
|
+
| nullish | optional boolean | This part is nullish. Subsequent parts use conditional access operators. |
|
|
13
|
+
| quoteId | optional boolean | Whether the identifier should be quoted or not. Only needed when providing the `children` prop, otherwise it is determined automatically. |
|
|
14
|
+
| refkey | optional[Refkey](../../../core/types/refkey/) | A refkey for a symbol whose name becomes the identifier. |
|
|
15
|
+
| symbol | optional[OutputSymbol](../../../core/types/outputsymbol/) | A symbol whose name becomes the identifier. |
|
|
@@ -4,7 +4,7 @@ Describes the symbols exported by a module.
|
|
|
4
4
|
|
|
5
5
|
## Members
|
|
6
6
|
|
|
7
|
-
| |
|
|
8
|
-
| ------- |
|
|
9
|
-
| default | optional string
|
|
10
|
-
| named | optional
|
|
7
|
+
| | | |
|
|
8
|
+
| ------- | ------------------------------------------------------------- | - |
|
|
9
|
+
| default | optional string | |
|
|
10
|
+
| named | optional[NamedModuleDescriptor](../namedmoduledescriptor/)\[] | |
|
|
@@ -6,6 +6,6 @@ Information for a TypeScript function parameter.
|
|
|
6
6
|
|
|
7
7
|
Extends [ParameterDescriptorBase](../parameterdescriptorbase/)
|
|
8
8
|
|
|
9
|
-
| |
|
|
10
|
-
| ------- |
|
|
11
|
-
| default | optional
|
|
9
|
+
| | | |
|
|
10
|
+
| ------- | ------------------------------------------------- | ----------------------------------- |
|
|
11
|
+
| default | optional[Children](../../../core/types/children/) | The default value of the parameter. |
|