Skip to content

Commit

Permalink
docs: add usage example comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbash committed Jan 14, 2022
1 parent cc1610e commit 8399de4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Specify endpoint decorator logic (you can apply Nest.js decorators for example):
// overrides.ts
import { setEndpointDecorator } from 'typed-http-decorators';

// You can add additional properties to EndpointOptions like this:
declare module './rest' {
interface EndpointOptions {
permissions: string[];
Expand Down

0 comments on commit 8399de4

Please sign in to comment.