···11-// eslint-disable-next-line @typescript-eslint/triple-slash-reference
22-/// <reference path="./overrides.d.ts" />
11+// OVERRIDES
22+// hard-coded here because build process doesn't pick up overrides from separate files
33+import '@hey-api/codegen-core';
44+55+declare module '@hey-api/codegen-core' {
66+ interface ProjectRenderMeta {
77+ /**
88+ * If specified, this will be the file extension used when importing
99+ * other modules. By default, we don't add a file extension and let the
1010+ * runtime resolve it.
1111+ *
1212+ * @default null
1313+ */
1414+ importFileExtension?: (string & {}) | null;
1515+ }
1616+1717+ interface SymbolMeta {
1818+ /**
1919+ * Path to the resource this symbol represents.
2020+ */
2121+ path?: ReadonlyArray<string | number>;
2222+ /**
2323+ * Name of the plugin that registered this symbol.
2424+ */
2525+ pluginName?: string;
2626+ }
2727+}
2828+// END OVERRIDES
329430import colors from 'ansi-colors';
531// @ts-expect-error
-31
packages/openapi-ts/src/overrides.d.ts
···11-import '@hey-api/codegen-core';
22-33-declare module '@hey-api/codegen-core' {
44- interface ProjectRenderMeta {
55- /**
66- * If specified, this will be the file extension used when importing
77- * other modules. By default, we don't add a file extension and let the
88- * runtime resolve it.
99- *
1010- * @default null
1111- */
1212- importFileExtension?: (string & {}) | null;
1313- }
1414-1515- interface SymbolMeta {
1616- /**
1717- * Name of the plugin that registered this symbol.
1818- */
1919- pluginName?: string;
2020- /**
2121- * Type of resource this symbol represents.
2222- */
2323- resourceType?:
2424- | 'operation'
2525- | 'parameter'
2626- | 'requestBody'
2727- | 'schema'
2828- | 'server'
2929- | 'webhook';
3030- }
3131-}