Skip to content

Commit

Permalink
Merge pull request AgoraIO#70 from prene/master
Browse files Browse the repository at this point in the history
Bugfix: typescript not compiling, wrong type definition file.
  • Loading branch information
plutoless authored May 4, 2020
2 parents 49fe49f + d66cf4c commit d6e6ecf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions DynamicKey/AgoraDynamicKey/nodejs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,4 @@ export namespace RtmTokenBuilder {
* @return token
*/
export function buildToken(appID: string, appCertificate: string, account: string | number, role: number, privilegeExpiredTs: number): string;
}

module.exports.RtmTokenBuilder = RtmTokenBuilder
module.exports.Role = Role
}

0 comments on commit d6e6ecf

Please sign in to comment.