Fixes #208581: ESLint and .vscode/extensions is tricky to configure (#210031)

This commit is contained in:
Dirk Bäumer
2024-04-10 12:03:56 +02:00
committed by GitHub
parent b9226f2929
commit 13a88a8da4
12 changed files with 56 additions and 44 deletions

View File

@@ -1,6 +1,7 @@
/*---------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export const memoizeLast = <A, T>(fn: (args: A) => T): ((args: A) => T) => {
let last: { arg: A; result: T } | undefined;