@periskope/types 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsconfig.json CHANGED
@@ -25,9 +25,9 @@
25
25
  // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
26
26
 
27
27
  /* Modules */
28
- "module": "commonjs", /* Specify what module code is generated. */
28
+ "module": "ESNext", /* Specify what module code is generated. */
29
29
  // "rootDir": "./", /* Specify the root folder within your source files. */
30
- // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
30
+ "moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
31
31
  // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
32
32
  // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
33
33
  // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
@@ -1,7 +1,7 @@
1
1
  import { Merge, OverrideProperties } from 'type-fest';
2
2
  import { Chat, MessageTypes } from 'whatsapp-web.js';
3
- import { Database as DatabaseGenerated, Tables } from './supabase.types';
4
- export * from './supabase.types';
3
+ import { Database as DatabaseGenerated, Tables } from './supabase.types.ts';
4
+ export * from './supabase.types.ts';
5
5
  export type Database = OverrideProperties<DatabaseGenerated, {}>;
6
6
  export type WhatsappChat = Chat & {
7
7
  groupMetadata?: any;
@@ -1,7 +1,7 @@
1
1
  import { Merge, OverrideProperties } from 'type-fest';
2
2
  import { Chat, MessageTypes } from 'whatsapp-web.js';
3
- import { Database as DatabaseGenerated, Tables } from './supabase.types';
4
- export * from './supabase.types';
3
+ import { Database as DatabaseGenerated, Tables } from './supabase.types.ts';
4
+ export * from './supabase.types.ts';
5
5
 
6
6
  // Override the type for a specific column in a view:
7
7
  export type Database = OverrideProperties<DatabaseGenerated, {}>;