Related resources for shift method in TypeScript