emitting calcium typescript declarations

update to typescript.api, now able to emit ts declarations.
calcium.d.ts.