mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00
Imporvements and lint fix
This commit is contained in:

committed by
Vladimir Enchev

parent
ae8b285fc0
commit
047893a18b
10
image-source/image-source.d.ts
vendored
10
image-source/image-source.d.ts
vendored
@ -4,8 +4,8 @@
|
||||
declare module "image-source" {
|
||||
|
||||
/**
|
||||
* Encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images.
|
||||
*/
|
||||
* Encapsulates the common abstraction behind a platform specific object (typically a Bitmap) that is used as a source for images.
|
||||
*/
|
||||
export class ImageSource {
|
||||
/**
|
||||
* Gets the height of this instance. This is a read-only property.
|
||||
@ -104,4 +104,10 @@ declare module "image-source" {
|
||||
* @param path The location of the file on the file system.
|
||||
*/
|
||||
export function fromFileOrResource(path: string): ImageSource;
|
||||
|
||||
/**
|
||||
* Returns true if the specified path points to a resource or local file.
|
||||
* @param path The path.
|
||||
*/
|
||||
export function isFileOrResourcePath(path: string): boolean
|
||||
}
|
Reference in New Issue
Block a user