We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b210fa0 commit 14b49e5Copy full SHA for 14b49e5
src/feathers-cjs-fix.ts
@@ -0,0 +1,5 @@
1
+// src/feathers.ts
2
+import * as feathers from '@feathersjs/feathers'
3
+
4
+// Type-safe re-export of only what you need
5
+export const SERVICE = (feathers as any).SERVICE || feathers.default?.SERVICE
src/utils/get-exposed-methods/get-exposed-methods.util.ts
@@ -1,5 +1,5 @@
import type { Service } from '@feathersjs/feathers'
-import { SERVICE } from '@feathersjs/feathers'
+import { SERVICE } from '../../feathers-cjs-fix.js'
/**
* Little helper to get methods are publicly exposed by a service.
0 commit comments