From dc0e2c49ea302e5ef5bc14c0eef32811d08ec380 Mon Sep 17 00:00:00 2001 From: Jason N Date: Mon, 2 Dec 2024 12:41:10 +1100 Subject: [PATCH] Fix compile call in docs --- types/index.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 91a1017..9bd573f 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -657,7 +657,9 @@ export interface CompilationProgress extends PromiseLike { * @example * ```js * const compile = model.compile({ - * solver: 'gecode' + * options: { + * solver: 'gecode' + * } * }); * setInterval(() => { * if (compile.isRunning()) { @@ -673,7 +675,9 @@ export interface CompilationProgress extends PromiseLike { * @example * ```js * const compile = model.compile({ - * solver: 'gecode' + * options: { + * solver: 'gecode' + * } * }); * setTimeout(() => { * if (compile.isRunning()) {