Comparing version 2.0.0 to 2.0.1
@@ -155,3 +155,3 @@ import { Awaitable, Promisify, Dict } from 'cosmokit'; | ||
} | ||
export class Context { | ||
export class Context<T extends Context.Config = Context.Config> { | ||
static readonly static: unique symbol; | ||
@@ -163,4 +163,4 @@ static readonly filter: unique symbol; | ||
static readonly immediate: unique symbol; | ||
options: Context.Config; | ||
constructor(config?: Context.Config); | ||
options: T; | ||
constructor(config?: T); | ||
extend(meta?: Partial<Context.Meta>): this; | ||
@@ -200,3 +200,3 @@ isolate(names: string[]): this; | ||
constructor(ctx: Context, name: string, immediate?: boolean); | ||
get caller(): Context; | ||
get caller(): Context<Context.Config>; | ||
} |
{ | ||
"name": "cordis", | ||
"description": "AOP Framework for Modern JavaScript Applications", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "lib/index.cjs", | ||
@@ -48,4 +48,4 @@ "module": "lib/index.mjs", | ||
"dependencies": { | ||
"cosmokit": "^1.1.2" | ||
"cosmokit": "^1.2.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
124880
Updatedcosmokit@^1.2.1