Skip to content

Commit c52ad2f

Browse files
authored
Add missing 'create' method in MethodName type
1 parent 43bc403 commit c52ad2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Hook, HookContext, Params, Query, Paginated } from '@feathersjs/feather
44
import * as ajv from 'ajv';
55

66
export type HookType = 'before' | 'after' | 'error';
7-
export type MethodName = 'find' | 'get' | 'update' | 'patch' | 'remove';
7+
export type MethodName = 'find' | 'create' | 'get' | 'update' | 'patch' | 'remove';
88
export type TransportName = 'socketio' | 'primus' | 'rest' | 'external' | 'server';
99
export type Disablable = 'populate' | 'fastJoin' | 'ignoreDeletedAt' | 'softDelete' | 'softDelete2' | 'stashBefore';
1010

0 commit comments

Comments
 (0)