Skip to content

Commit

Permalink
Add Result template type
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jul 17, 2022
1 parent baba653 commit 446956d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PostgresResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

use Amp\Sql\Result;

/**
* Recursive template types currently not supported, list<mixed> should be list<TFieldType>
* @psalm-type TFieldType list<mixed>|bool|int|float|string|null
* @extends Result<TFieldType>
*/
interface PostgresResult extends Result
{
/**
Expand Down

0 comments on commit 446956d

Please sign in to comment.