Skip to content

Commit 271ce22

Browse files
author
Ben Grynhaus
committed
Some docs and import optimization
1 parent 116b201 commit 271ce22

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
import { KnownKeys } from './known-keys';
5-
4+
/**
5+
* Inverse of `Pick<T, K>`.
6+
*/
67
export type Omit<T, K extends keyof T> = Pick<T, Exclude<KnownKeys<T> & keyof T, K>>;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4+
/**
5+
* An object with a `string`-based index signature.
6+
*/
47
export type StringMap<T = any> = { [index: string]: T };

libs/fabric/src/lib/components/command-bar/directives/command-bar-items.directives.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
// Licensed under the MIT License.
33

44
import {
5-
Directive,
5+
AfterContentInit,
66
ContentChildren,
7-
QueryList,
7+
Directive,
8+
EventEmitter,
89
OnDestroy,
9-
AfterContentInit,
1010
Output,
11-
EventEmitter,
11+
QueryList,
1212
} from '@angular/core';
13-
import { ICommandBarItemOptions } from '../command-bar.component';
1413
import { Subscription } from 'rxjs';
15-
import { CommandBarItemDirective, CommandBarItemChangedPayload } from './command-bar-item.directives';
14+
import { ICommandBarItemOptions } from '../command-bar.component';
15+
import { CommandBarItemChangedPayload, CommandBarItemDirective } from './command-bar-item.directives';
1616

1717
export abstract class CommandBarItemsDirectiveBase implements AfterContentInit, OnDestroy {
1818
private readonly _subscriptions: Subscription[] = [];

0 commit comments

Comments
 (0)