Skip to content

TypeScript: createDefaultImageryProviderViewModels() and similar methods are missing #9084

@sraimund

Description

@sraimund

First of all, thank you for adding TypeScript support. It's really nice to have the API documentation available in the IDEs. When adapting my code to the webpack-cesium-example, I noticed that import { createDefaultImageryProviderViewModels } from "cesium"; works, but the method is not included in the definitions file, thus the IDEs (e.g. WebStorm in the screenshot below) give a warning. I use createDefaultImageryProviderViewModels() to initially change the base map, as mentioned on stackoverflow.

In the bundled Cesium.js file, I saw that several methods (e.g. createMaterialPropertyDescriptor, createUniform) are missing in the TypeScript file, whereas others (e.g. createCommand, createGuid) are present. As I'm new to TypeScript, I cannot tell the reason or even a solution, but it would be helpful, when all exported methods would be included and eventually documented.

webstorm_warning

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions