Iam new in typescript language I tried to iterate the object using typescript. but it's throwing an error how to handle this error.
[typescript] Element implicitly has an 'any' type because type '{ a: string; b: string; c: string; }' has no index signature.
Code
var obj = {
a: ' a',
b: 'b ',
c: ' c '
};
Object.keys(obj).map(k => obj[k] = obj[k].trim());
console.log(obj);