Skip to content

Commit 934563b

Browse files
committed
chore(dynatrace): type the shared param map as unknown
Review follow-up. `Record<string, any>` in the block's params builder dropped compile-time checking from every operation's shared params; `unknown` is enough here since the values flow straight into the tool param maps. Matches .claude/rules/sim-typescript.md, which sibling blocks (Datadog, Grafana) still violate.
1 parent 31446ec commit 934563b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/blocks/blocks/dynatrace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ Return ONLY the selector string - no explanations, no surrounding quotes.`,
782782
config: {
783783
tool: (params) => params.operation,
784784
params: (params) => {
785-
const baseParams: Record<string, any> = {
785+
const baseParams: Record<string, unknown> = {
786786
environmentUrl: params.environmentUrl,
787787
apiToken: params.apiToken,
788788
}

0 commit comments

Comments
 (0)