Type annotations / Typescript as a feature request
-
Is this the right place to make a feature request for QML/Javascript ?
Is there a way to place type annotations and strip them at runtime please or make the engine ignore them or...?
And of course could the typescript -> js compiler and checker be called before deployments?It seems kind of related, would this be a separate topic:
Is there a way to generate .d.ts typedefs for the generated JS?
Typescript as output has been requested before: https://forum.qt.io/topic/134444/webassembly-typescript-support, but using .d.ts files as a place for typedefs seems standard for Typescript and this specific point seems to not have been raised.
Kind of old, but maybe still relevant: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/2781 -
Is this the right place to make a feature request for QML/Javascript ?
Is there a way to place type annotations and strip them at runtime please or make the engine ignore them or...?
And of course could the typescript -> js compiler and checker be called before deployments?It seems kind of related, would this be a separate topic:
Is there a way to generate .d.ts typedefs for the generated JS?
Typescript as output has been requested before: https://forum.qt.io/topic/134444/webassembly-typescript-support, but using .d.ts files as a place for typedefs seems standard for Typescript and this specific point seems to not have been raised.
Kind of old, but maybe still relevant: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/2781@RudolphSnoflakes991 said in Type annotations / Typescript as a feature request:
Is this the right place to make a feature request for QML/Javascript ?
No, this is user forum.
For bugs and change request you should use https://bugreports.qt.io/secure/Dashboard.jspa -
@RudolphSnoflakes991 said in Type annotations / Typescript as a feature request:
Is this the right place to make a feature request for QML/Javascript ?
No, this is user forum.
For bugs and change request you should use https://bugreports.qt.io/secure/Dashboard.jspa@jsulm That makes sense! Also, you are damn fast, thank you for reviewing my message!