Skip to content

Snippets for tsrfc(e) are wrong #86

Closed
@ecklf

Description

@ecklf

An example of what tsrfc returns:

import React from 'react'

interface Props {
  
}

export default function Test(): Props {
  return (
    <div>
      
    </div>
  )
}

I think the return type is specified wrong here. It should be ReactElement instead of Props.
Will do a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions