Question: I need to convert a String to a Custom Data Type for a key. I am using Derby(it'd old, I know). I have two tables, linked with primary and foreign keys. The second table only accepts a parameter if it is the same as the first table(`public Roster setGameID(Games GamesID)`), this is in the second table. 

I need to convert the String to Type Games. This method doesn't work:

```
Games Test = (Games)GamesID;

```

GamesID is the String Input. 

Thanks Again!

Answer: 
Oh...

`import { React, Component } from 'react';`

needs to be

`import React, { Component } from 'react';`

:)
For me in TypeScript the solution was:

```
import * as React from 'react';

```