Skip to content

Commit

Permalink
Merge pull request #377 from patrick-rodgers/dev
Browse files Browse the repository at this point in the history
Update for #376
  • Loading branch information
patrick-rodgers committed Nov 21, 2018
2 parents 5476618 + 61611aa commit 136637f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sp/src/usercustomactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class UserCustomActions extends SharePointQueryableCollection {
* @param properties The information object of property names and values which define the new user custom action
*
*/
public add(properties: TypedHash<string | boolean | number>): Promise<UserCustomActionAddResult> {
public add(properties: TypedHash<any>): Promise<UserCustomActionAddResult> {

const postBody = jsS(extend({ __metadata: { "type": "SP.UserCustomAction" } }, properties));

Expand Down Expand Up @@ -57,7 +57,7 @@ export class UserCustomAction extends SharePointQueryableInstance {
*
* @param properties An information object of property names and values to update for this user custom action
*/
public update = this._update<UserCustomActionUpdateResult, TypedHash<string | boolean | number>>("SP.UserCustomAction", (data) => ({ data, action: this }));
public update = this._update<UserCustomActionUpdateResult, TypedHash<any>>("SP.UserCustomAction", (data) => ({ data, action: this }));

/**
* Removes this user custom action
Expand Down

0 comments on commit 136637f

Please sign in to comment.