Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 6 lines 256 Bytes
Raw
1 import { NamedType, namedType } from './NamedType';
2 import { TypeBuilder } from './TypeBuilder';
3
4 export function omit(type: TypeBuilder, keyType: TypeBuilder): NamedType {
5 return namedType('Omit').addGenericArgument(type).addGenericArgument(keyType);
6 }