default: {
add: ((file) => Promise<AddResponse | PinResponse>);
status: ((cid) => Promise<StatusResponse>);
}
Type declaration
add: ((file) => Promise<AddResponse | PinResponse>)
- (file): Promise<AddResponse | PinResponse>
Returns Promise<AddResponse | PinResponse>
status: ((cid) => Promise<StatusResponse>)
- (cid): Promise<StatusResponse>
Returns Promise<StatusResponse>