Answer the question
In order to leave comments, you need to log in
How to import Angular 1.x into TypeScript?
Tell me how to make friends with the first Angular typescript, when I try to import it writes that it cannot do this, compilation also fails.
import * as angular from '@types/angularjs';
let app = angular.module("myAppTest", []);
app.controller("myController", function ($scope, $http, $q) {
$scope.testValue = "Hello From Angular";
});
Answer the question
In order to leave comments, you need to log in
import * as angular from 'angularjs'
Stupid question, but did you try
to do as it advises ( )?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question