Skip to content

Commit a7c8c32

Browse files
committed
updating code styles
1 parent 6cf0741 commit a7c8c32

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/types.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import type Router from './router/Router.js';
1515
export type ExtendsType<T, U> = U & Pick<T, Exclude<keyof T, keyof U>>;
1616

1717
export type Constructor<T, U extends Record<string, unknown> = {}> = U & {
18-
new (): T;
18+
new (): T
1919
};
2020

2121
//--------------------------------------------------------------------//
@@ -35,17 +35,17 @@ export type TypeOf<T> = T extends number
3535

3636
export type Key = string|number;
3737
export interface NestedObject<V = unknown> {
38-
[ key: Key ]: V|NestedObject<V>;
38+
[ key: Key ]: V|NestedObject<V>
3939
};
4040
export type UnknownNest = NestedObject<unknown>;
4141
export type Scalar = string|number|boolean|null;
4242
export type Hash = NestedObject<Scalar>;
4343
export type ScalarInput = Scalar|Scalar[]|Hash;
4444

4545
export type FileMeta = {
46-
data: Buffer|string;
47-
name: string;
48-
type: string;
46+
data: Buffer|string,
47+
name: string,
48+
type: string
4949
};
5050

5151
export type CallableSet<V = any> = ((index: number) => V|undefined) & Set<V> & {

0 commit comments

Comments
 (0)