Skip to content

How to import typings for Typescript apps script development #131

@davidbielik

Description

@davidbielik

I see that since #87 this library was converted to Typescript. What's the correct way to import typescript definitions so that it can be used within VSCode?

Minimal Code to Reproduce the Problem

Explain the Problem in Detail

I've tried importing it as a reference:

/// <reference path="../node_modules/firestore_google-apps-script/typings/index.d.ts" />

But this only imports a FirestoreAPI which comes from typings/index.d.ts

It's unclear how I should use this to develop in a Typescript environment.

Thanks in advance!

Library Version: 33

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions