add reference to typings in code example