Skip to content

Incorrect data type in app.d.ts for SetSharedApp(name) #36

Description

@TonyGravagno

definitions/ts/app.d.ts includes this for class DsApp:

/** Auto-Launch Project when shared data received */
SetSharedApp(name: "AppName"): void;

That defines the value of name as a constant "AppName".
I believe that should be type string, with the value being the name of the current app.

It might help if the value defaults to app.GetAppName() in case the app name changes.

I don't know if this is an app issue or an issue with the definition in VSCode.
I don't know if this definition came from DS or if it's unique to the extension code.
I don't know what the intent is for the value.

The information here will determined if a change is required for app.d.ts and/or elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions