Skip to content

Instantly share code, notes, and snippets.

@bamnet
Created July 22, 2019 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bamnet/04d0455e959f8cdb274c14a5a5fbaed7 to your computer and use it in GitHub Desktop.
Save bamnet/04d0455e959f8cdb274c14a5a5fbaed7 to your computer and use it in GitHub Desktop.
let placesSvc: import("./places").PlacesService;
async function initMap() {
const services = await import('./places');
placesSvc = new services.PlacesService(<HTMLDivElement>document.getElementById('attr'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment