Cache public d.ts locally to avoid dependency problems.