10000 chore: restore previous import, add allowSyntheticDefaultImports · SortableJS/ngx-sortablejs@01b2af0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01b2af0

Browse files
committed
chore: restore previous import, add allowSyntheticDefaultImports
1 parent 8e90faa commit 01b2af0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

projects/ngx-sortablejs/src/lib/sortablejs.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Directive, ElementRef, EventEmitter, Inject, Input, NgZone, OnChanges, OnDestroy, OnInit, Optional, Output, Renderer2, SimpleChange } from '@angular/core';
2-
import * as Sortable from 'sortablejs';
2+
import Sortable from 'sortablejs';
33
import { GLOBALS } from './globals';
44
import { SortablejsBindingTarget } from './sortablejs-binding-target';
55
import { SortablejsBindings } from './sortablejs-bindings';

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"moduleResolution": "node",
1010
"emitDecoratorMetadata": true,
1111
"experimentalDecorators": true,
12+
"allowSyntheticDefaultImports": true,
1213
"importHelpers": true,
1314
"target": "es2015",
1415
"typeRoots": [

0 commit comments

Comments
 (0)
0