mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-02 05:02:27 +08:00
docs(CHANGELOG): Note typescript workaround
This commit is contained in:
parent
9ab561ab11
commit
bd8d3770f7
25
CHANGELOG.md
25
CHANGELOG.md
@ -13,6 +13,31 @@
|
|||||||
([release
|
([release
|
||||||
notes](https://github.com/ckeditor/ckeditor5-linters-config/blob/v5.1.0/CHANGELOG.md))
|
notes](https://github.com/ckeditor/ckeditor5-linters-config/blob/v5.1.0/CHANGELOG.md))
|
||||||
|
|
||||||
|
- README: Note typing workaround for TypeScript builds (#105)
|
||||||
|
|
||||||
|
1. Create a `d.ts` declaration file, e.g. `typings/ckeditor5-math.d.ts`
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
declare module '@isaul32/ckeditor5-math';
|
||||||
|
declare module '@isaul32/ckeditor5-math/src/math';
|
||||||
|
declare module '@isaul32/ckeditor5-math/src/autoformatmath';
|
||||||
|
```
|
||||||
|
|
||||||
|
2. In your [`tsconfig.json`](https://www.typescriptlang.org/tsconfig)'s
|
||||||
|
root-level [`include`](https://www.typescriptlang.org/tsconfig#include)
|
||||||
|
option, make sure your declaration file is covered, e.g.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"extends": "ckeditor5/tsconfig.json",
|
||||||
|
"include": [
|
||||||
|
"src",
|
||||||
|
"typings",
|
||||||
|
"../../typings"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## [38.0.1](https://github.com/isaul32/ckeditor5-math/compare/v38.0.0...v38.0.1) (2023-06-20)
|
## [38.0.1](https://github.com/isaul32/ckeditor5-math/compare/v38.0.0...v38.0.1) (2023-06-20)
|
||||||
|
|
||||||
- Update dependencies for CKEditor 38.0.1 ([Release
|
- Update dependencies for CKEditor 38.0.1 ([Release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user