These are chat archives for DefinitelyTyped/DefinitelyTyped

2nd
Jun 2017
anna
@bortsova
Jun 02 16:14
hi ! new to typescript and angular4 but trying to use googlemaps typing in my code. installed and imported googlemaps: in my component i have import * as maps from 'googlemaps'; and in class export trying to do map = new maps.Map(
document.getElementById('map'), {
backgroundColor: "#fff",
center: { lat: -25.363, lng: 131.044 },
clickableIcons: true,
draggable: true,
fullscreenControl: true,
fullscreenControlOptions: {
position: google.maps.ControlPosition.RIGHT_TOP
},
gestureHandling: "cooperative",
scrollwheel: true,
zoom: 4
}); getting Error loading http://localhost:8080/app/main.ts :/ any help would be greatly appreciated!
Adrian Leonhard
@NaridaL
Jun 02 16:40
Is the version number in a declaration file supposed to be the version of the library or a separate version number for the declaration file itself?