triniwiz / nativescript-stripe

Apache License 2.0
49 stars 32 forks source link

Angular example update for {N} v6 #123

Closed funder7 closed 4 years ago

funder7 commented 4 years ago

May I suggest to update the ng-example (StripeService class) to the following:

httpModule import * as httpModule from 'tns-core-modules/http';import { request as httpRequest } from '@nativescript/core/http'; line 91: return httpModule.request({httpRequest({

Page import { Page } from 'tns-core-modules/ui/page';import { Page } from '@nativescript/core';

In case that I'll find other code to be updated, I'll edit the issue