diff --git a/projects/internals/tools/eslint-suppressions.json b/projects/internals/tools/eslint-suppressions.json index d3eb3e1b4e..a25d8fe913 100644 --- a/projects/internals/tools/eslint-suppressions.json +++ b/projects/internals/tools/eslint-suppressions.json @@ -4,11 +4,6 @@ "count": 2 } }, - "src/examples/service.ts": { - "@typescript-eslint/no-unnecessary-type-assertion": { - "count": 1 - } - }, "src/packages/service.test.ts": { "@typescript-eslint/no-unnecessary-type-assertion": { "count": 1 diff --git a/projects/internals/tools/src/examples/service.ts b/projects/internals/tools/src/examples/service.ts index 24a2046cbf..4c22330814 100644 --- a/projects/internals/tools/src/examples/service.ts +++ b/projects/internals/tools/src/examples/service.ts @@ -56,7 +56,7 @@ export class ExamplesService { return (results as Example[]).map(e => ({ id: e.id, summary: e.summary })); } - return results as string; + return results; } @tool({