Giter Site home page Giter Site logo

Comments (6)

parse-github-assistant avatar parse-github-assistant commented on June 2, 2024

Thanks for opening this issue!

from node-apn.

mtrezza avatar mtrezza commented on June 2, 2024

Could you please add a full issue description?

from node-apn.

mathieulb avatar mathieulb commented on June 2, 2024

There is no template for issues in this repo, unlike for the other parse repos I've submitted issues to, but this is purely a Typescript declaration issue, so, it can't have anything to do with my version of MongoDB.

I don't know what you need to know in addition to what I said. I am using @parse/node-apn 6.0.1 and I see that master branch of @parse/node-apn is also lacking this field in /index.d.ts.

from node-apn.

mathieulb avatar mathieulb commented on June 2, 2024

In index.d.ts, in export interface ProviderOptions {...}, insert this line :

 topic?:string

from node-apn.

mathieulb avatar mathieulb commented on June 2, 2024

Actually, sorry, topic isn't actually a field that goes there at that level. Like most Parse users, I'm configuring this through new ParseServer. Today I've searched parse, parse-server and @parse/node-apn for topic, push, ios and Provider, and didn't find anything relevant, then I realised that I hadn't searched @parse/push-adapter yet, and there it is. The problem I am trying to solve from the start, is to compensate for the lack of type declarations in parse-server, but in this case, the push section has a type that should be defined in @parse/push-adapter instead (a project that also has no type declarations).

from node-apn.

mtrezza avatar mtrezza commented on June 2, 2024

Yes, only few repos have started converting to TS; please feel free to open an issue or PR in the respective repo.

from node-apn.

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.