0.6.4 • Published 6 months ago
@types/laravel-vapor v0.6.4
Installation
npm install --save @types/laravel-vapor
Summary
This package contains type definitions for laravel-vapor (https://github.com/laravel/vapor-js).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/laravel-vapor.
index.d.ts
// Type definitions for laravel-vapor 0.4
// Project: https://github.com/laravel/vapor-js
// Definitions by: saibotk <https://github.com/saibotk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 2.9
//
interface VaporStoreOptions {
bucket?: string | undefined;
contentType?: string | undefined;
expires?: string | undefined;
visibility?: string | undefined;
baseURL?: string | undefined;
headers?: any;
options?: any;
}
declare class Vapor {
store(file: File, options?: VaporStoreOptions): Promise<any>;
asset(path: string): string;
}
declare const VaporInstance: Vapor;
export = VaporInstance;
Additional Details
- Last updated: Thu, 27 Jan 2022 21:01:39 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by saibotk.