From 34cbf1ccb08504fcb4b4be2cf8e22d19b58af085 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 27 Feb 2023 13:10:47 -0800 Subject: [PATCH] Remove old proposed API check --- tree-view-sample/src/extension.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tree-view-sample/src/extension.ts b/tree-view-sample/src/extension.ts index 844b0ebf..535dc064 100644 --- a/tree-view-sample/src/extension.ts +++ b/tree-view-sample/src/extension.ts @@ -46,9 +46,5 @@ export function activate(context: vscode.ExtensionContext) { // Test View new TestView(context); - // Drag and Drop proposed API sample - // This check is for older versions of VS Code that don't have the most up-to-date tree drag and drop API proposal. - if (typeof vscode.DataTransferItem === 'function') { - new TestViewDragAndDrop(context); - } + new TestViewDragAndDrop(context); } \ No newline at end of file