Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { AnimalService/*, Animal*/ } from 'zoo';
- var animalService = new AnimalService();
- function getRandomAnimal ()/*: Animal*/ {
- return animalService.getRandomAnimal();
- }
- // cannot import 'Animal' type from 'zoo'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement