Skip to content

Commit 0b7a9f3

Browse files
committed
Remove duplicate options import in computed.ts
The module imported both 'options' and 'options as koOptions' from @tko/utils. Remove the bare 'options' import and use the existing 'koOptions' alias at the one call site.
1 parent 6629d63 commit 0b7a9f3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/computed/src/computed.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
arrayForEach,
99
domNodeIsAttachedToDocument,
1010
extend,
11-
options,
1211
hasOwnProperty,
1312
objectForEach,
1413
options as koOptions,
@@ -427,7 +426,7 @@ computed.fn = {
427426
}
428427

429428
state.latestValue = newValue
430-
if (options.debug) {
429+
if (koOptions.debug) {
431430
this._latestValue = newValue
432431
}
433432

0 commit comments

Comments
 (0)