From 10bcee953e4c21dca24138f947bca0bb33442678 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 26 May 2021 17:26:46 +0200 Subject: [PATCH] MOBILE-3320 DX: Fix service singleton snippet --- .vscode/moodle.code-snippets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/moodle.code-snippets b/.vscode/moodle.code-snippets index 6647cdec2..9429495bb 100644 --- a/.vscode/moodle.code-snippets +++ b/.vscode/moodle.code-snippets @@ -89,7 +89,7 @@ "", "}", "", - "export class ${1:${TM_FILENAME_BASE}} extends makeSingleton(${1:${TM_FILENAME_BASE}}Service) {}", + "export const ${1:${TM_FILENAME_BASE}} = makeSingleton(${1:${TM_FILENAME_BASE}}Service);", "" ], "description": "[Moodle] Create a Service Singleton"