diff --git a/index.d.ts b/index.d.ts index ca30e0f12f..06c9e902ff 100644 --- a/index.d.ts +++ b/index.d.ts @@ -61,11 +61,6 @@ declare namespace feathers { * Initialize your service with any special configuration or if connecting services that are very tightly coupled */ setup?(app?: Application, path?: string): void; - - before(any?): this; - after(any?): this; - filter(any?): this; - } interface FeathersUseHandler extends expressCore.IRouterHandler, express.IRouterMatcher { diff --git a/package.json b/package.json index 1e10fac7fd..bb99531cf2 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "lib": "lib" }, "scripts": { + "prepare": "npm run compile", "prepublish": "npm run compile", "publish": "git push origin && git push origin --tags", "release:patch": "npm version patch && npm publish",