Files
DefinitelyTyped/types/kahoot.js-updated/tsconfig.json
Adam Thompson-Sharpe 77f6831aaf 🤖 Merge PR #59529 [kahoot.js-updated] Add type definitions for kahoot.js-updated by @MysteryBlokHed
* Add types for kahoot.js-updated

All of the class is documented except for the events and their
responses. The return values are being found by running the code as
opposed to looking through the project's source.

* Add missing properties and classes

* Add some tests and fix dtslint errors

* Fix KahootOptions interface

* Add async tests

* Add some missing types and event overloads

* Add QuizEnd and Podium events

* Add TeamTalk event

* Add all missing events

* Merge 2FA overloads

* Make settings optional and add `| undefined` to optional props

* Change how listeners are defined

Changes from defining listeners with an overload for each one to using
generics.

* Add tests for properties on Kahoot instances

* Add remaining EventEmitter functions

* Move nemesis interface contents directly to QuestionEnd

* Test more instance properties

* Fix dtslint errors
2022-03-29 11:04:17 -07:00

17 lines
432 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": ["es6"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": ["../"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": ["index.d.ts", "kahoot.js-updated-tests.ts"]
}