Skip to content

Commit

Permalink
change to builder pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Dec 9, 2018
1 parent 15d8260 commit c757b26
Show file tree
Hide file tree
Showing 10 changed files with 340 additions and 325 deletions.
11 changes: 4 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"src/**/*.d.ts": true,
"**/*.map": true,
".cache-loader": true
},
},
"beautify.options": {
"editorconfig": true,
"end_with_newline": true,
Expand All @@ -18,12 +18,9 @@
"space_around_selector_separator": true
},
"beautify.tabSize": 2,
"typescriptHero.imports.insertSpaceBeforeAndAfterImportBraces": false,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
"tsimporter.spaceBetweenBraces": false,
"tsimporter.noStatusBar": true,
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.formatOnPaste": true,
"editor.formatOnType": true
"typescript.tsdk": "node_modules\\typescript\\lib",
"editor.formatOnPaste": true,
"editor.formatOnType": true
}
2 changes: 1 addition & 1 deletion src/internal/interable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function isSeqEmpty(seq: ISequence<any>) {
return seq.every(() => false); // more efficent than counting length
}

function isIndicesAble<T>(it: Iterable<T>): it is ArrayLike<T> & Iterable<T> {
export function isIndicesAble<T>(it: Iterable<T>): it is ArrayLike<T> & Iterable<T> {
return Array.isArray(it) || it instanceof Uint8Array || it instanceof Uint16Array || it instanceof Uint32Array || it instanceof Float32Array || it instanceof Int8Array || it instanceof Int16Array || it instanceof Int32Array || it instanceof Float64Array;
}

Expand Down
Loading

0 comments on commit c757b26

Please sign in to comment.