Tag: typescript

59 votes
1 answers
3K views
Navigate with parameters in latest NativeScript with Angular and TypeScript

I want to navigate to another page with parameters, but I can't seem to find documentation that explains

avatar
Denese
0 1 0 9
asked 07 September, 2021
61 votes
2 answers
3K views
Using collapse in listview items not removing the space for particular item view entirely

In listview items I'm using Visiblity concept in layout to perform visible and collapse. When performing

avatar
Luis
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
2.7K views
NativeScript TextField [(ngModel)] does not work

I have a problem with data binding in TextField via ngModel I have model class export class Product { na

avatar
Cortez
0 1 0 9
asked 07 September, 2021
54 votes
2 answers
1.7K views
Expected 2 arguments, but got 1.ts(2554) core.d.ts(8064, 47): An argument for 'opts' was not provided

Error Expected 2 arguments, but got 1.ts(2554) core.d.ts(8064, 47): An argument for 'opts' was not

avatar
Arline
0 1 0 9
asked 07 September, 2021
63 votes
4 answers
921 views
Hybrid App - Ionic vs NativeScript

I am in mobile space for quite some time and we are having native Android and iOS app already. Now our company

avatar
Georgie
0 1 0 9
asked 07 September, 2021
55 votes
3 answers
3K views
How can I solve the error 'TS2532: Object is possibly 'undefined'?

I'm trying to rebuild a web app example that uses Firebase Cloud Functions and Firestore. When deploying

avatar
Tana
0 1 0 9
asked 07 September, 2021
58 votes
26 answers
1.1K views
tsconfig.json: Build:No inputs were found in config file

I have an ASP.NET core project and I'm getting this error when I try to build it: error TS18003: Build:N

avatar
Virgil
0 1 0 9
asked 07 September, 2021
54 votes
22 answers
648 views
Avoid "current URL string parser is deprecated" warning by setting useNewUrlParser to true

I have a database wrapper class that establishes a connection to some MongoDB instance: async connect(connect

avatar
Jeff
0 1 0 9
asked 07 September, 2021
57 votes
4 answers
1.1K views
Detect Input Focus Using Angular 2+

I'm trying to create an auto-complete list that appears as you type, but disappears when you click elsewh

avatar
Lashawna
0 1 0 9
asked 07 September, 2021
52 votes
7 answers
1.1K views
TypeScript: problems with type system

I'm just testing typescript in VisualStudio 2012 and have a problem with its type system. My html site ha

avatar
Corrin
0 1 0 9
asked 07 September, 2021