Skip to content

Conversation

@North101
Copy link

@North101 North101 commented May 8, 2025

I've added some types for use in replicad scripts.

e.g.

import type {
  ShapesConfig,
} from "replicad"

// doesn't error
const {
  drawCircle,
  drawRectangle,
} = replicad

// ShapesConfig ensures the exported types are correct 
export default function main(params: typeof defaultParams): ShapesConfig {
  
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant