Takeshi Tokugawa YD
Takeshi Tokugawa YD

Reputation: 923

How I can create jQuery object in TypeScript for `window` and `document`?

How I can create jQuery object in TypeScript for window and document?

enter image description here

Upvotes: 1

Views: 268

Answers (1)

Takeshi Tokugawa YD
Takeshi Tokugawa YD

Reputation: 923

Set JQuery<Window> type instead of JQuery:

enter image description here

Upvotes: 1

Related Questions