mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Add missing FileResizeOptions fields
This commit is contained in:
Vendored
+6
-3
@@ -1,6 +1,7 @@
|
||||
// Type definitions for Angular File Upload 11.1.1
|
||||
// Type definitions for Angular File Upload 12.2
|
||||
// Project: https://github.com/danialfarid/ng-file-upload
|
||||
// Definitions by: John Reilly <https://github.com/johnnyreilly>
|
||||
// Definitions by: John Reilly <https://github.com/johnnyreilly>,
|
||||
// Eduardo Garcia <https://github.com/thewarpaint>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="angular" />
|
||||
@@ -103,10 +104,12 @@ declare module 'angular' {
|
||||
interface FileResizeOptions {
|
||||
centerCrop?: boolean;
|
||||
height?: number;
|
||||
ratio?: number;
|
||||
pattern?: string;
|
||||
ratio?: number | string;
|
||||
resizeIf?: ResizeIfFunction;
|
||||
restoreExif?: boolean;
|
||||
quality?: number;
|
||||
type?: string;
|
||||
width?: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user