Depend on platform implementations for common features (#165950)

* don't depend on externals

* remove unneeded externals
This commit is contained in:
Tyler James Leonhardt
2022-11-09 14:29:21 -08:00
committed by GitHub
parent 1784a7ed34
commit b9b93f2b45
13 changed files with 50 additions and 40 deletions

View File

@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { webcrypto } from 'crypto';
export const crypto = webcrypto as any as Crypto;