Giter Club home page Giter Club logo

Comments (6)

jkwlui avatar jkwlui commented on August 12, 2024

@stephenplusplus can we create a release on the latest master?

from gcs-resumable-upload.

stephenplusplus avatar stephenplusplus commented on August 12, 2024

I can, but so I understand better, which changes will correct this issue? v0.11.0...master

from gcs-resumable-upload.

jkwlui avatar jkwlui commented on August 12, 2024

it was the update to typescript: ~2.9.0 via 51c7231

from gcs-resumable-upload.

jkwlui avatar jkwlui commented on August 12, 2024

from 2.9 onwards, npm run compile generates:

/// <reference types="node" />
import { AxiosRequestConfig, AxiosResponse } from 'axios';
import * as ConfigStore from 'configstore';
import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library';
import * as Pumpify from 'pumpify';
import * as r from 'request';
export declare type RequestBody = any;
export declare type RequestResponse = AxiosResponse;
export declare type Request = r.Request;
export declare type RequestOptions = AxiosRequestConfig;
export declare type RequestCallback = (err: Error | null, response?: AxiosResponse, body?: RequestBody) => void;
export declare type AuthorizeRequestCallback = (err: Error | null, authorizedReqOpts: RequestOptions) => void;
export declare type CreateUriCallback = (err: Error | null, uri?: string) => void;
export interface Encryption {
    key: {};
    hash: {};
}
export interface UploadConfig {
    /**
     * The name of the destination bucket.
     */
    bucket: string;
    /**
     * The name of the destination file.

...

prior to commit 51c7231:

/// <reference types="request" />
/// <reference types="node" />
/// <reference types="pumpify" />
/// <reference types="configstore" />
import { AxiosRequestConfig, AxiosResponse } from 'axios';
import * as ConfigStore from 'configstore';
import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library';
import * as Pumpify from 'pumpify';
import * as r from 'request';
export declare type RequestBody = any;
export declare type RequestResponse = AxiosResponse;
export declare type Request = r.Request;
export declare type RequestOptions = AxiosRequestConfig;
export declare type RequestCallback = (err: Error | null, response?: AxiosResponse, body?: RequestBody) => void;
export declare type AuthorizeRequestCallback = (err: Error | null, authorizedReqOpts: RequestOptions) => void;
export declare type CreateUriCallback = (err: Error | null, uri?: string) => void;
export interface Encryption {
    key: {};
    hash: {};
}
export interface UploadConfig {
    /**

...

from gcs-resumable-upload.

stephenplusplus avatar stephenplusplus commented on August 12, 2024

Thank you! Published 0.11.1 👍

from gcs-resumable-upload.

jkwlui avatar jkwlui commented on August 12, 2024

good stuff. Thanks! @stephenplusplus

from gcs-resumable-upload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.