Skip to content

Commit

Permalink
Merge pull request #2776 from majkelmichel/version-3
Browse files Browse the repository at this point in the history
Fixing typing on TermSet add method
  • Loading branch information
juliemturner authored Sep 6, 2023
2 parents bfc0868 + 4162616 commit c6dc7ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/sp/taxonomy/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,9 @@ export class _TermSets extends _SPCollection<ITermSetInfo[]> {
/**
* Adds a new term set to this collection
* @param props The set of properties
* @returns The information on the create group
* @returns The information on the created set
*/
public add(props: Partial<ITermSetCreateParams>): Promise<ITermGroupInfo> {

public add(props: Partial<ITermSetCreateParams>): Promise<ITermSetInfo> {
return spPost(this, body(props));
}
}
Expand Down

0 comments on commit c6dc7ee

Please sign in to comment.