sparse-intern-71089
03/22/2021, 10:57 PMlittle-cartoon-10569
03/22/2021, 10:58 PMlittle-cartoon-10569
03/22/2021, 10:59 PMlittle-cartoon-10569
03/22/2021, 11:01 PMlittle-cartoon-10569
03/22/2021, 11:04 PM"lib": "./lib", "test": "."
in my package.json, but I don't know what they're for or if they're right.little-cartoon-10569
03/22/2021, 11:04 PMlittle-cartoon-10569
03/22/2021, 11:11 PMlittle-cartoon-10569
03/23/2021, 3:01 AMlittle-cartoon-10569
03/23/2021, 3:02 AMnpm run test --spec **/Si*.spec.ts
). If I use a slightly broader ant-expression that finds more than one file (npm run test --spec **/S*.spec.ts
) then everything is fine, even the tests in the file that previously didn't compilelittle-cartoon-10569
03/23/2021, 3:03 AMlittle-cartoon-10569
03/23/2021, 3:04 AMexpect(bucketUnderTest.bucket.serverSideEncryptionConfiguration!.rule.applyServerSideEncryptionByDefault.sseAlgorithm.promise()).to.eventually.contain("kms")
and it's complaining with this:
error TS2339: Property 'rule' does not exist on type 'Output<BucketServerSideEncryptionConfiguration | undefined>'.Property 'rule' does not exist on type 'OutputInstance<BucketServerSideEncryptionConfiguration | undefined>'.
little-cartoon-10569
03/23/2021, 3:04 AMlittle-cartoon-10569
03/23/2021, 3:05 AMOutput<BucketServerSideEncryptionConfiguration | undefined>
so TypeScript / tslint has a rant.little-cartoon-10569
03/23/2021, 3:06 AM