microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 623 B
Source Map (JSON)
{"version":3,"sources":["src/common/Guid.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,UAAU,EAAE,MAAM,MAA6B,CAAC;AAEtD,QAAA,MAAM,gBAAgB,EAAE,MAAM,MAAmF,CAAC;AAElH,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC","file":"Guid.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\r\n// Licensed under the MIT license.\r\n\r\nimport { v4 as uuid } from \"uuid\";\r\n\r\nconst createGuid: () => string = (): string => uuid();\r\n\r\nconst createNoDashGuid: () => string = (): string => createGuid().replace(new RegExp(\"-\", \"g\"), \"\").toUpperCase();\r\n\r\nexport { createGuid, createNoDashGuid };\r\n"]}