From 5d5ff3d1f16fdcdd24c0bd2d9aba191c6b535f2f Mon Sep 17 00:00:00 2001 From: Mahdi Varposhti Date: Tue, 16 Jun 2020 19:01:36 -0600 Subject: [PATCH] Update the package.json file --- sdk/tables/azure-tables/package.json | 4 ++-- sdk/tables/azure-tables/src/index.ts | 5 ----- sdk/tables/azure-tables/src/print.browser.ts | 13 ------------- sdk/tables/azure-tables/src/print.ts | 6 ------ 4 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 sdk/tables/azure-tables/src/print.browser.ts delete mode 100644 sdk/tables/azure-tables/src/print.ts diff --git a/sdk/tables/azure-tables/package.json b/sdk/tables/azure-tables/package.json index f83cb7e15b11..182f66e8d6f3 100644 --- a/sdk/tables/azure-tables/package.json +++ b/sdk/tables/azure-tables/package.json @@ -64,7 +64,7 @@ "@azure/core-http": "^1.1.1", "@opentelemetry/api": "^0.6.1", "events": "^3.0.0", - "tslib": "^1.10.0" + "tslib": "^2.0.0" }, "devDependencies": { "@microsoft/api-extractor": "7.7.11", @@ -104,7 +104,7 @@ "rollup": "^1.16.3", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-terser": "^5.1.1", - "rollup-plugin-visualizer": "^3.1.1", + "rollup-plugin-visualizer": "^4.0.4", "typescript": "~3.9.3", "util": "^0.12.1", "chai": "^4.2.0", diff --git a/sdk/tables/azure-tables/src/index.ts b/sdk/tables/azure-tables/src/index.ts index 8574a3392a43..532e9729ca58 100644 --- a/sdk/tables/azure-tables/src/index.ts +++ b/sdk/tables/azure-tables/src/index.ts @@ -11,11 +11,6 @@ // for both node and web import { isNode } from "@azure/core-http"; -export interface Foo { - bar: number; - test: string; -} - export function helloWorld(): string { if (isNode) { console.log("Node 👊"); diff --git a/sdk/tables/azure-tables/src/print.browser.ts b/sdk/tables/azure-tables/src/print.browser.ts deleted file mode 100644 index 594dc6cd615f..000000000000 --- a/sdk/tables/azure-tables/src/print.browser.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -// This shim just declares "document" to be defined in this scope. -// If you really need access to browser features with strong -// type-checking, extend the shim to the extent you require or use: -// -// /// -declare const document: any; - -export default function(str: string): void { - document.write(str); -} diff --git a/sdk/tables/azure-tables/src/print.ts b/sdk/tables/azure-tables/src/print.ts deleted file mode 100644 index d717040cbbc3..000000000000 --- a/sdk/tables/azure-tables/src/print.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export default function(str: string): void { - console.log(str); -}