mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore(docs): Upgrade typedoc to version 0.13.0 (#6717)
Building with the current 0.5.10 now fails because it depends on typescript
before 2.4. This causes the following errors:
```
NativeScript@ typedoc /root/NativeScript
> typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme --excludeExternals --externalPattern "**/+(tns-core-modules|module).d.ts"
Loaded plugin typedoc-plugin-external-module-name
Using TypeScript 2.2.2 from /root/NativeScript/node_modules/typedoc/node_modules/typescript/lib
Error: /root/NativeScript/tns-core-modules/module.d.ts(67)
In ambient enum declarations member initializer must be constant expression.
Error: /root/NativeScript/tns-core-modules/module.d.ts(68)
In ambient enum declarations member initializer must be constant expression.
Error: /root/NativeScript/tns-core-modules/module.d.ts(69)
In ambient enum declarations member initializer must be constant expression.
```
This fix is required to support typeodoc@0.8.0 and above:
01f94b4ae2
This commit is contained in:
committed by
Alexander Vakrilov
parent
c034d6ead6
commit
89870f7c91
@@ -41,7 +41,7 @@
|
||||
"time-grunt": "1.3.0",
|
||||
"tslib": "^1.9.3",
|
||||
"tslint": "^5.4.3",
|
||||
"typedoc": "^0.5.10",
|
||||
"typedoc": "^0.13.0",
|
||||
"typedoc-plugin-external-module-name": "git://github.com/PanayotCankov/typedoc-plugin-external-module-name.git#with-js",
|
||||
"typescript": "^3.1.6"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user