mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 08:10:52 +00:00
* Convert AddonManager to TypeScript.
* Convert PubSub (not PubSubClient) to TypeScript. * Convert StagingSelector to TypeScript. * Make sure to add ExperimentManager's events to the global interface.
This commit is contained in:
parent
6c6d4ceb98
commit
31e7ce4ac5
6 changed files with 221 additions and 93 deletions
|
@ -18,6 +18,9 @@ declare module 'utilities/types' {
|
|||
interface ModuleMap {
|
||||
experiments: ExperimentManager;
|
||||
}
|
||||
interface ModuleEventMap {
|
||||
experiments: ExperimentEvents;
|
||||
}
|
||||
interface ProviderTypeMap {
|
||||
'experiment-overrides': Record<string, unknown>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue