Related resources for toString method in TypeScript