style: use common utils package (api and app) #2055
Annotations
10 errors
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
|
lint
Property 'tiles' does not exist on type 'Document<unknown, any, IDashboard> & Omit<IDashboard & { _id: ObjectId; }, never>'.
|
lint
Property 'tiles' does not exist on type 'Document<unknown, any, IDashboard> & Omit<IDashboard & { _id: ObjectId; }, never>'.
|
lint
Property 'id' does not exist on type '{ toString: () => string; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number | undefined) => number; ... 44 more ...; [Symbol.iterator]: () => IterableIterator<...>; }'.
|
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
|
lint
Cannot find module '@hyperdx/common-utils/dist/clickhouse' or its corresponding type declarations.
|
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
|
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
|
lint
Argument of type '{ name: { type: StringConstructor; required: boolean; }; tiles: { type: typeof Schema.Types.Mixed; required: boolean; }; team: { type: typeof Schema.Types.ObjectId; ref: string; }; tags: { ...; }; }' is not assignable to parameter of type 'IDashboard | { team?: SchemaDefinitionProperty<ObjectId> | undefined; } | undefined'.
|
lint
Cannot find module '@hyperdx/common-utils/dist/types' or its corresponding type declarations.
|