@@ -66,7 +66,7 @@ export class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
6666 getFreeDragPosition(): Readonly <Point >;
6767 getPlaceholderElement(): HTMLElement ;
6868 getRootElement(): HTMLElement ;
69- lockAxis: DragAxis ;
69+ lockAxis: DragAxis | null ;
7070 readonly moved: Observable <CdkDragMove <T >>;
7171 // (undocumented)
7272 static ngAcceptInputType_disabled: unknown ;
@@ -259,7 +259,7 @@ export class CdkDropList<T = any> implements OnDestroy {
259259 getSortedItems(): CdkDrag [];
260260 hasAnchor: boolean ;
261261 id: string ;
262- lockAxis: DragAxis ;
262+ lockAxis: DragAxis | null ;
263263 // (undocumented)
264264 static ngAcceptInputType_autoScrollDisabled: unknown ;
265265 // (undocumented)
@@ -330,7 +330,7 @@ export interface DragDropConfig extends Partial<DragRefConfig> {
330330 // (undocumented)
331331 listOrientation? : DropListOrientation ;
332332 // (undocumented)
333- lockAxis? : DragAxis ;
333+ lockAxis? : DragAxis | null ;
334334 // (undocumented)
335335 previewClass? : string | string [];
336336 // (undocumented)
@@ -423,7 +423,7 @@ export class DragRef<T = any> {
423423 getRootElement(): HTMLElement ;
424424 getVisibleElement(): HTMLElement ;
425425 isDragging(): boolean ;
426- lockAxis: ' x' | ' y' ;
426+ lockAxis: ' x' | ' y' | null ;
427427 readonly moved: Observable <{
428428 source: DragRef ;
429429 pointerPosition: {
@@ -523,7 +523,7 @@ export class DropListRef<T = any> {
523523 isDragging(): boolean ;
524524 _isOverContainer(x : number , y : number ): boolean ;
525525 isReceiving(): boolean ;
526- lockAxis: ' x' | ' y' ;
526+ lockAxis: ' x' | ' y' | null ;
527527 readonly receivingStarted: Subject <{
528528 receiver: DropListRef ;
529529 initiator: DropListRef ;
0 commit comments