Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(misc): update types with new freeze related properties #1083

Merged
merged 4 commits into from Jan 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion types/misc.d.ts
Expand Up @@ -67,6 +67,7 @@ export interface Plugin {
hooks?: string[],
tags?: object,
words?: object,
frozen?: {[key: string]: string},
lib?: () => object,
api?: (fn: (view: any) => {}) => void, //should be View
mutate?: (fn: (world: object) => {}) => void,
Expand All @@ -83,6 +84,7 @@ export interface Match {
unTag?: string | string[],
group?: string | number,
reason?: string,
freeze?: boolean
}

export interface Net {
Expand All @@ -91,4 +93,4 @@ export interface Net {
isNet: boolean
}

export type ParsedMatch = object[]
export type ParsedMatch = object[]