Skip to content

[question] embrace NativeScript without TypeScript skill ? #2618

Closed

Description

@c1ngular

Hi , everyone
new to NativeScript, found it is fascinating ! though i am confused by knowing that TypeScript is the "first citizen" in NativeScript world ! but i don't know anything about TypeScript , is this gonna be a problem to use NativeScript ?

NO.1 how should i use plugins written by TypeScript in JavaScript context ?

NO.2 can i just use plain JavaScript (ES6 support ? ) to write a plugin if necessary ?

thank you

Activity

  1. self-assigned this
    on Aug 24, 2016
  2. tsonevn commented on Aug 24, 2016

    @tsonevn
    Contributor

    Hi @c1ngular,

    Thank you for your question.
    In NativeScript you could use vanilla JavaScript as well as TypeScript as program language. With both options, you could use all features plugins build for the platform. In regard to that TypeScript has been integrated in NativeScript to help the programmer, who is coming from other strongly-typed language and would like to use IntelliSense while writing their app.

    After you add plugin in your project tns plugin add <plugin_name> you should required it in your project to be able to use its functionality. You could review our getting started project from the documentation.
    About your second question, you could read more about NativeScript plugin here.

    In case you have more questions you could use our StackOverflow or Slack canals, where you could also find help from our community .

    I hope this information helps

  3. c1ngular commented on Aug 24, 2016

    @c1ngular
    Author

    @tsonevn
    Thank you, i will dig around .

  4. lock commented on Aug 29, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  5. locked and limited conversation to collaborators on Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions