Skip to content

Commit

Permalink
fix: typing defineReflect
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed May 24, 2023
1 parent 734e121 commit 291cad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/nx.static.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ interface NxStatic {
* @param meta
* @param isStatic
*/
defineProperty(target: any, name: string, meta: any, isStatic: boolean): any;
defineProperty(target: any, name: string, meta: any, isStatic?: boolean): any;

/**
* Define method for target.
Expand All @@ -154,7 +154,7 @@ interface NxStatic {
* @param meta
* @param isStatic
*/
defineMethod(target: any, name: string, meta: any, isStatic: boolean): any;
defineMethod(target: any, name: string, meta: any, isStatic?: boolean): any;

/**
* Define a series method from name with comma for a target.
Expand All @@ -167,7 +167,7 @@ interface NxStatic {
target: any,
name: string,
meta: any,
isStatic: boolean
isStatic?: boolean
): any;

/**
Expand All @@ -181,7 +181,7 @@ interface NxStatic {
member: Nx.DefinedMemember,
target: any,
obj: any,
isStatic: boolean
isStatic?: boolean
): any;

/**
Expand Down

0 comments on commit 291cad7

Please sign in to comment.