Skip to content

Commit

Permalink
Fix compile call in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Dec 2, 2024
1 parent 4976cd8 commit dc0e2c4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,9 @@ export interface CompilationProgress extends PromiseLike<string> {
* @example
* ```js
* const compile = model.compile({
* solver: 'gecode'
* options: {
* solver: 'gecode'
* }
* });
* setInterval(() => {
* if (compile.isRunning()) {
Expand All @@ -673,7 +675,9 @@ export interface CompilationProgress extends PromiseLike<string> {
* @example
* ```js
* const compile = model.compile({
* solver: 'gecode'
* options: {
* solver: 'gecode'
* }
* });
* setTimeout(() => {
* if (compile.isRunning()) {
Expand Down

0 comments on commit dc0e2c4

Please sign in to comment.