From a69cb176023abb3abe2d0539b3eb38facf7a6734 Mon Sep 17 00:00:00 2001 From: yakomaxa <47655565+yakomaxa@users.noreply.github.com> Date: Sun, 21 Aug 2022 10:12:56 +0900 Subject: [PATCH] remove default paramerter and added whitespace before } --- src/mol-script/script.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mol-script/script.ts b/src/mol-script/script.ts index ca62dd315..a1e4e5d32 100644 --- a/src/mol-script/script.ts +++ b/src/mol-script/script.ts @@ -15,9 +15,9 @@ import { assertUnreachable } from '../mol-util/type-helpers'; export { Script }; -interface Script { expression: string, language: Script.Language} +interface Script { expression: string, language: Script.Language } -function Script(expression: string = '(sel.atom.all)', language: Script.Language = 'mol-script'): Script { +function Script(expression: string, language: Script.Language): Script { return { expression, language }; } -- GitLab