Skip to content
Discussion options

You must be logged in to vote

@ikirk Our typescript support is definitely something we're trying to improve, so this feedback is really valuable, thank you.

node_modules/openmct/dist/openmct.d.ts as the API.md doc says to include in tsconfig.json doesn't seem to exist after npm install, but node_modules/openmct/dist/types/index.d.ts does. Have the types moved to that file?

Good catch! API.md is wrong, we will correct that. Thank you!

When adding a telemetry type (following the tutorial as a general framework)), the type TypeDefinition doesn't seem to have a name attribute, but after some tracing around does seem to have a label attribute.

The code will support either label or name for legacy reasons. The preferred…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ozyx
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by akhenry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants