title: I cant remove the error "Type 'User | null' is not assignable to type 'User'. Type 'null' is not assignable to type 'User'"
body: <pre><code>export interface User {
    id: string
    name: string
    bio: string
    public_repos: string
    public_gists: string
  }
  </code></pre>
  
  <pre><code>async function getPrismaUser(
    ctx: Context,
    githubUserId: string,
  ): Promise&lt;User&gt; {
    return await ctx.prisma.user.findOne({ where: { githubUserId } })
  }
  </code></pre>
  
  <p>I've tried adding non-null assertion checks in my return statement but the error doesn't go away. Is my only solution "strict": false in tsconfig.json?</p>