Skip to content

Importing Createjs for use with Typescript #796

Open
@origin1tech

Description

@origin1tech

The @types for createjs seem to be formatted as a namespace instead of a module. If you import as below:

import 'createjs'

You can then access for example:

createjs.Stage

Since the @types (the Typescript typings) are exporting a namespace it then becomes sticky when trying to load the module via a module loader such as SystemJs.

Any comments on how createjs should be imported and loaded would be appreciated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions