Skip to content

TypeScript Support #16

@AshBardhan

Description

@AshBardhan

I have developed a vanilla JS game project where I am using kontra and sfxr libraries. Now I am considering to migrate the entire game in Typescript for code scalability and maintainance. I noticed kontra library can be implemented in TS format (thanks to their TypeScript declaration file).

However, I have not seen any TS support for this sfxr library. I even tried to install latest version of jsfxr library. According to your README, you have used classic CommonJS format const sfxr = require("jsfxr").sfxr; instead of using import/export as per new ESM format.

Are you planning to support TS or is there any workaround to fix this? Please let me know.

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