In example generated package, completion for atom package / global

Hi, I created my first sample package. When I load it in Atom, the imports for atom

import { CompositeDisposable } from ‘atom’;

and

atom.workspace

Do not autocomplete and show as undefined. What is the process to get auto-completion support for these?