- createApp<N>(options: createApp.Options<N>): AppBaseContext & {
id: string;
log: StandardLog<LogMethodNames> & _<Logger<LogMethodNames>, "error" | "alert" | "emergency" | "critical" | "warn" | "notice" | "info" | "debug" | "trace" | "planck" | "count" | "on">;
name: string;
} & {
extend: (<C, P>(this: C, plugin: P) => P extends TypeD<infer N, infer PM, infer S> ? LeftJoin<C, PM> : P extends TypeB<infer N, infer PM> ? LeftJoin<C, PM> : P extends TypeB_WithStart<infer N, infer PM> ? LeftJoin<C, PM> : C);
start(): Promise<void>;
}
-
Type Parameters
-
N extends string = LogMethodNames
Returns AppBaseContext & {
id: string;
log: StandardLog<LogMethodNames> & _<Logger<LogMethodNames>, "error" | "alert" | "emergency" | "critical" | "warn" | "notice" | "info" | "debug" | "trace" | "planck" | "count" | "on">;
name: string;
} & {
extend: (<C, P>(this: C, plugin: P) => P extends TypeD<infer N, infer PM, infer S> ? LeftJoin<C, PM> : P extends TypeB<infer N, infer PM> ? LeftJoin<C, PM> : P extends TypeB_WithStart<infer N, infer PM> ? LeftJoin<C, PM> : C);
start(): Promise<void>;
}
Creates a new
@just-web
application.