Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(typescript) #3688


Remove commented code

Remove commented code from utils.d.ts
  • Loading branch information...
outofmemoryagain committed Mar 21, 2019
commit c1ac519f1d4c826b0c4e2de2fd281c1a241cc119
@@ -5,38 +5,9 @@ export * from './utils/format';
export * from './utils/scroll';
export * from './utils/event';

// others utils
export function openURL(url: string): void;
export function debounce(fn: Function, wait?: Number, immediate?: boolean) : Function
export function extend(...args: any[]): any;
export function throttle(fn: Function, limit: Number): Function;
export function uid(): string;

// export interface NotifyAction {
// label: string;
// icon?: string;
// noDismiss?: boolean;
// handler: Function;
// }

// export interface NotifyOptions {
// message: string;
// timeout?: number;
// type?: string;
// color?: string;
// textColor?: string;
// icon?: string;
// avitar?: string;
// detail?: string;
// position?: string;
// closeBtn?: boolean;
// actions?: NotifyAction[];
// onDismiss?: Function;
// }
// export namespace Notify{
// function create(message: string | NotifyOptions): void;
// }
export function uid(): string;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.