Skip to content

Commit

Permalink
docs: Add openmct type hints (#7247)
Browse files Browse the repository at this point in the history
* Add setAssetPath method to MCT type information

* Add TypeRegistry to OpenMCT typedef
  • Loading branch information
skrobchik authored Feb 16, 2024
1 parent bc36a93 commit 317ea8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmct.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (document.currentScript) {
* @property {*} inspectorViews
* @property {*} propertyEditors
* @property {*} toolbars
* @property {*} types
* @property {import('./src/api/types/TypeRegistry').default} types
* @property {import('./src/api/objects/ObjectAPI').default} objects
* @property {import('./src/api/telemetry/TelemetryAPI').default} telemetry
* @property {import('./src/api/indicators/IndicatorAPI').default} indicators
Expand All @@ -67,6 +67,7 @@ if (document.currentScript) {
* @property {import('./src/api/annotation/AnnotationAPI').default} annotation
* @property {{(plugin: OpenMCTPlugin) => void}} install
* @property {{() => string}} getAssetPath
* @property {{(assetPath: string) => void}} setAssetPath
* @property {{(domElement: HTMLElement, isHeadlessMode: boolean) => void}} start
* @property {{() => void}} startHeadless
* @property {{() => void}} destroy
Expand Down

0 comments on commit 317ea8c

Please sign in to comment.