Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

If I want to introduce the js plug-in I downloaded, how should I write the declaration file? #33

Open
simpleET opened this issue Jan 17, 2018 · 1 comment
Labels

Comments

@simpleET
Copy link

If I want to introduce the js plug-in I downloaded, how should I write the declaration file?
just like this:
import scrollJs from '../plug/scrollJs.js'

@DanielRosenwasser
Copy link
Member

Probably a better fit for StackOverflow, but you'd create a scrollJs.d.ts file that describes the exports if you're willing to place the files there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants