You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For projectfluent#524, I'll want new TypeScript features, so updating TypeScript.
The new TypeScript requires a new typedoc. Which removed the setup
we used to generated the docs (--mode=file) because it was duh.
Now the docs are actually for the exposed symbols of the module.
For #524, I'll want new TypeScript features, so updating TypeScript.
The new TypeScript requires a new typedoc. Which removed the setup
we used to generated the docs (--mode=file) because it was duh.
Now the docs are actually for the exposed symbols of the module.
* Better typing for @fluent/syntax
* Align AST with fluent-rs to use Union types instead of inheritance.
* Give input type hints to Visitor and Transformer
* Stricter typing for @fluent/langneg
* Expose option type of API
The AST now aligns with the fluent-rs one, and less so with the reference AST. That's OK as it helps consumers of the library in types JS variants to use narrowing reliably.
Some of the issues we see when trying to migrate Pontoon's frontend to typescript come from Fluent.
Let's have an issue to track that work.
I've got a first step for
@fluent/langneg
, but that might not be all.CC @mathjazz @adngdb
The text was updated successfully, but these errors were encountered: